comparison Implab/Parallels/AsyncPool.cs @ 66:790e8a997d30

Refactoring
author cin
date Thu, 14 Aug 2014 18:08:09 +0400
parents d9d794b61bb9
children 4c0e5ef99986
comparison
equal deleted inserted replaced
65:653c4e04968b 66:790e8a997d30
46 46
47 return p; 47 return p;
48 } 48 }
49 49
50 50
51 public static IPromiseBase InvokeNewThread(Action func) { 51 public static IPromise InvokeNewThread(Action func) {
52 var p = new Promise<object>(); 52 var p = new Promise<object>();
53 53
54 var caller = TraceContext.Snapshot(); 54 var caller = TraceContext.Snapshot();
55 55
56 var worker = new Thread(() => { 56 var worker = new Thread(() => {