public virtual void Resume() { lock (_taskQueue) { if (!_isSuspended) { return; } if (_dispatcher != null) { _dispatcher.QueueResumeNotification(); } _isSuspended = false; } Enqueue(new Task(delegate { })); }
public virtual void Resume() { lock (_taskQueue) { if (!_isSuspended) { return; } if (_dispatcher != null) { _dispatcher.QueueResumeNotification(); } _isSuspended = false; } Enqueue(new Task(delegate { })); }