LocklessQueuePushState

Defined in header “ark/concurrency/lockless_queue.hh”.


An enumeration indicating the state of the queue after a push.

Values

  • PushedWithoutDrop = 0
    If we pushed onto the queue and no items were dropped.

  • PushedWithDrop = 1
    If we pushed onto the queue and an item was dropped.

  • QueueFull = 2
    If we couldn’t push onto the queue without an item being dropped.

  • OutOfMemory = 3
    If we ran out of memory during the push.