Ejemplo n.º 1
0
 /// <summary>
 /// Post a message to the worker thread.
 /// </summary>
 public void PostToWorker(WorkerThreadMsg m)
 {
     lock (MsgMutex)
     {
         MsgQueue.Enqueue(m);
         WakeUp();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Post a message to the worker thread.
 /// </summary>
 public void PostToWorker(WorkerThreadMsg m)
 {
     lock (MsgMutex)
     {
         MsgQueue.Enqueue(m);
         WakeUp();
     }
 }