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); } }
public void Setup() { boundedQueue = new BoundedQueue(128); unboundedQueue = new UnboundedQueue <ISignal>(); }
public void Setup() { boundedQueue = new BoundedQueue(OPERATIONS); unboundedQueue = new UnboundedQueue <ISignal>(); }