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