Emits an event on the events
stream of this event queue, bypassing the queue.
Emits an event on the events
stream of this event queue, bypassing the queue.
the event to emit
Atomically dequeues an event from the queue, and emits it on the event stream.
Atomically dequeues an event from the queue, and emits it on the event stream.
This operation is linearizable, but can only be invoked by the queue's owner, that is, by the owning reactor.
specialization implicit
the number of elements at the point when the event was dequeued
Atomically enqueues the event x
on the event queue.
Atomically enqueues the event x
on the event queue.
This operation is linearizable and can be called by any number of threads.
the event to enqueue
the number of enqueued events when the event was enqueued
Event stream on which this event queue releases events.
Event stream on which this event queue releases events.
An event is released when dequeue
is called. Note that only the owning reactor
can subscribe to the event stream.
Size of the event queue.
Size of the event queue.
Unreact the event stream associated with this queue.
Unreact the event stream associated with this queue.
Can only be called by the queue's owner. Subsequent dequeue
calls remove
elements, but do not emit them to the event stream.
Event queue backed by a synchronized, expandable unrolled ring.