Esempio n. 1
0
        private void DoManyJobs(RxQueue jobQueue)
        {
            Action doNothing = () => { };

            for (int i = 0; i < _jobSize - 1; i++)
            {
                jobQueue.Enqueue(doNothing);
            }
            jobQueue.Enqueue(() => _autoResetEvent.Set());
            _autoResetEvent.WaitOne();
        }
Esempio n. 2
0
 public void SetupRx() => _rxQueue = new RxQueue();