コード例 #1
0
 public AsyncSerialExecutor()
 {
     actions = new ConcurrentQueue <Tuple <TaskCompletionSource <bool>, Func <Task> > >();
     locker  = new InterlockedExchangeLock();
 }
コード例 #2
0
 public AsyncSerialExecutor()
 {
     actions = new ConcurrentQueue<Tuple<TaskCompletionSource<bool>, Func<Task>>>();
     locker = new InterlockedExchangeLock();
 }
コード例 #3
0
ファイル: AsyncSerialExecutor.cs プロジェクト: justmine66/MDA
 public AsyncSerialExecutor()
 {
     _actions = new ConcurrentQueue <Tuple <TaskCompletionSource <TResult>, Func <Task <TResult> > > >();
     _locker  = new InterlockedExchangeLock();
 }