Exemplo n.º 1
0
        private void Loop()
        {
            ReadEventFd();

            while (!_disposed)
            {
                Submit();
                Complete();
            }

            _ring.Dispose();
            _threadCompletion.TrySetResult(null);
        }
Exemplo n.º 2
0
 public void Cleanup()
 {
     _ring.Dispose();
     _concurrentRing.Dispose();
 }