annotate Implab/IPromise.cs @ 22:5a35900264f5
promises
implemented nonblocking wake singnals processing
author |
cin |
date |
Wed, 13 Nov 2013 14:03:00 +0400 |
parents |
e3935fdf59a2 |
children |
9bf5b23650c9 |
rev |
line source |
7
|
1 using System;
|
|
2 using System.Collections.Generic;
|
|
3 using System.Linq;
|
|
4 using System.Text;
|
|
5
|
|
6 namespace Implab
|
|
7 {
|
12
|
8 public interface IPromise: ICancellable
|
7
|
9 {
|
|
10 /// <summary>
|
|
11 /// Check whereather the promise has no more than one dependent promise.
|
|
12 /// </summary>
|
|
13 bool IsExclusive
|
|
14 {
|
|
15 get;
|
|
16 }
|
|
17
|
|
18
|
|
19 }
|
|
20 }
|