public ConcurrentQueue(IDispatcher dispatcher)
 {
     mDispatcher = dispatcher ?? throw new ArgumentNullException("dispatcher");
     mTimerQueue = new TimerQueue(this, dispatcher);
 }
Exemple #2
0
 public SerialQueue(IDispatcher dispatcher)
 {
     mDispatcher = dispatcher ?? throw new ArgumentNullException("dispatcher");
     mTimerQueue = new TimerQueue(this, dispatcher);
     mOnExecuteWorkItemFunction = OnExecuteWorkItem;
 }