diff Implab/Parallels/AsyncPool.cs @ 121:62d2f1e98c4e v2

working version of AsyncQueue and batch operations tests
author cin
date Mon, 12 Jan 2015 18:19:41 +0300
parents f1b897999260
children a336cb13c6a9
line wrap: on
line diff
--- a/Implab/Parallels/AsyncPool.cs	Mon Jan 12 05:19:52 2015 +0300
+++ b/Implab/Parallels/AsyncPool.cs	Mon Jan 12 18:19:41 2015 +0300
@@ -75,11 +75,11 @@
             return p;
         }
 
-        public static IPromise[] ThreadRun(params Action[] func) {
+        public static IPromise[] RunThread(params Action[] func) {
             return func.Select(f => InvokeNewThread(f)).ToArray();
         }
 
-        public static IPromise<T>[] ThreadRun<T>(params Func<T>[] func) {
+        public static IPromise<T>[] RunThread<T>(params Func<T>[] func) {
             return func.Select(f => InvokeNewThread(f)).ToArray();
         }
 	}