Beispiel #1
0
        private void Loop()
        {
            ReadEventFd();

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

            _ring.Dispose();
            _threadCompletion.TrySetResult(null);
        }
Beispiel #2
0
 public void Cleanup()
 {
     _ring.Dispose();
     _concurrentRing.Dispose();
 }