public override void Send(SendOrPostCallback d, object state) { if (_waitEvent == null) { _waitEvent = new AutoResetEvent(false); } var waitable = new WaitableAnalysisItem(d, state); _queue.Enqueue(waitable, AnalysisPriority.High); _waitEvent.WaitOne(); }
public override void Send(SendOrPostCallback d, object state) { if (_waitEvent == null) { _waitEvent = new AutoResetEvent(false); } var waitable = new WaitableAnalysisItem(d, state); _queue.Enqueue(waitable, AnalysisPriority.High); _waitEvent.WaitOne(); }