Beispiel #1
0
        public void Setup()
        {
            boundedQueue   = new BoundedQueue(OPERATIONS);
            unboundedQueue = new UnboundedQueue <ISignal>();

            var msg = Activated.Instance;

            for (int i = 0; i < OPERATIONS; i++)
            {
                boundedQueue.TryPush(msg);
                unboundedQueue.TryPush(msg);
            }
        }
Beispiel #2
0
 public void Setup()
 {
     boundedQueue   = new BoundedQueue(128);
     unboundedQueue = new UnboundedQueue <ISignal>();
 }
 public void Setup()
 {
     boundedQueue   = new BoundedQueue(OPERATIONS);
     unboundedQueue = new UnboundedQueue <ISignal>();
 }