private void notifyReadEvent() { if (_readProcessing.CompareAndSet(false, true)) { var readTask = ReadTask.New(this); _iMessageExecutor.execute(readTask); } }
public static void en() { int i = 0; while (true) { var queueTest = new MessageExecutorTest(i); if (_messageExecutor.execute(queueTest)) { i++; } } }
public void Run(ITimeout timeout) { _imessageExecutor.execute(this); }