public void AsyncDispatch(IQSimpleCommand cmd) { lock (_QLock) { if (!(cmd is HsmEventHolder)) { if (!(cmd is SimpleTransactionalCmd)) { cmd = new SimpleTransactionalCmd(cmd); } } _BottomQueue.Enqueue(cmd); } _WaitHandle.Set(); }
public void AsyncDispatch(IQSimpleCommand cmd) { lock (_QLock) { if (!(cmd is HsmEventHolder)) { if (!(cmd is SimpleTransactionalCmd)) { cmd = new SimpleTransactionalCmd (cmd); } } _BottomQueue.Enqueue (cmd); } _WaitHandle.Set (); }