Пример #1
0
 public void Send(T data)
 {
     lock (queue) {
         queue.Enqueue(data);
     }
     asyncWatcher.Send();
 }
Пример #2
0
 public void End()
 {
     end_watcher.Send();
 }
Пример #3
0
        public void ExecuteOnTargetLoop(Action action)
        {
            workQueue.Enqueue(action);

            asyncWatcher.Send();
        }