comparison Implab/AbstractPromise.cs @ 186:75103928da09 ref20160224

working on cancelation and error handling
author cin
date Tue, 19 Apr 2016 00:50:14 +0300
parents 97fbbf816844
children 86187b01c4e0
comparison
equal deleted inserted replaced
185:822aab37b107 186:75103928da09
132 public void Join(int timeout) { 132 public void Join(int timeout) {
133 WaitResult(timeout); 133 WaitResult(timeout);
134 } 134 }
135 135
136 protected void SetResult() { 136 protected void SetResult() {
137 BeginSetResult(); 137 if(BeginSetResult())
138 EndSetResult(); 138 EndSetResult();
139 } 139 }
140 } 140 }
141 } 141 }
142 142