annotate Implab/IPromise.cs @ 24:ee04e1fa78da
fixed dispatch pool race condition
author |
cin |
date |
Thu, 14 Nov 2013 01:15:07 +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 }
|