diff MonoPlay/Program.cs @ 138:f75cfa58e3d4 v2

added ICancellable.Cancel(Exception) to allow specify the reason of cancellation
author cin
date Tue, 17 Feb 2015 18:16:26 +0300
parents e9e7940c7d98
children 706fccb85524
line wrap: on
line diff
--- a/MonoPlay/Program.cs	Mon Feb 16 17:48:39 2015 +0300
+++ b/MonoPlay/Program.cs	Tue Feb 17 18:16:26 2015 +0300
@@ -69,7 +69,7 @@
 
             var readers = new IPromise[readThreads];
             for (int i = 0; i < readThreads; i++)
-                readers[i] = AsyncPool.RunThread(reader1);
+                readers[i] = AsyncPool.RunThread(reader2);
 
             var writers = new IPromise[writeThreads];
             for (int i = 0; i < writeThreads; i++)