##// END OF EJS Templates
Added SharedLock to synchronization routines
Added SharedLock to synchronization routines

File last commit:

r77:91362ffbecf8 v2
r129:471f596b2603 v2
Show More
PromiseHelper.cs
13 lines | 338 B | text/x-csharp | CSharpLexer
cin
refactoring
r11 using Implab.Parallels;
cin
implemeted new cancellable promises concept
r10 using System.Threading;
namespace Implab.Test {
cin
ported tests to mono
r77 static class PromiseHelper {
cin
fixed tests
r73 public static IPromise<T> Sleep<T>(int timeout, T retVal) {
cin
implemeted new cancellable promises concept
r10 return AsyncPool.Invoke(() => {
Thread.Sleep(timeout);
return retVal;
});
}
}
}