diff Implab.Test/AsyncTests.cs @ 34:dabf79fde388

fixed race condition in DispatchPool
author cin
date Thu, 10 Apr 2014 04:20:25 +0400
parents b255e4aeef17
children 3b8393be3441
line wrap: on
line diff
--- a/Implab.Test/AsyncTests.cs	Thu Apr 10 02:39:29 2014 +0400
+++ b/Implab.Test/AsyncTests.cs	Thu Apr 10 04:20:25 2014 +0400
@@ -244,7 +244,7 @@
         [TestMethod]
         public void ChainedMapTest() {
 
-            using (var pool = new WorkerPool(0,100,0)) {
+            using (var pool = new WorkerPool(0,100,100)) {
                 int count = 10000;
 
                 double[] args = new double[count];