XPS Printing
1 129810 2 86534 3 69567 4 68592 5 67887 6 63032 7 63322 8 61738 9 65949 10 78690 自已整左個program仔去試concurreny send xps job..上面係不同concurrency的結果.. class XPSPrintTest { static Stopwatch completeStopWatch = new Stopwatch(); static bool Done = false; static object jj = new object(); static object intLock = new object(); const int targetCounter = 100; static int _completeCounter = 0; static int CompleteCounter { get { lock(intLock) { ...