diff Implab/Parallels/AsyncPool.cs @ 119:2573b562e328 v2

Promises rewritten, added improved version of AsyncQueue
author cin
date Sun, 11 Jan 2015 19:13:02 +0300
parents 4c0e5ef99986
children f1b897999260
line wrap: on
line diff
--- a/Implab/Parallels/AsyncPool.cs	Sun Dec 28 16:09:03 2014 +0300
+++ b/Implab/Parallels/AsyncPool.cs	Sun Jan 11 19:13:02 2015 +0300
@@ -53,7 +53,7 @@
 
 
         public static IPromise InvokeNewThread(Action func) {
-            var p = new Promise<object>();
+            var p = new Promise();
 
             var caller = TraceContext.Instance.CurrentOperation;