Found 18 other functions taking a
queue_t
argument:
Blocking remove entry from queue If the queue is empty this function will block until a value is added.
Unsafe check of level of the specified queue. This does not use the spinlock, so may return incorrect results if the spin lock is not externally locked
Initialise a queue, allocating a (possibly shared) spinlock
Blocking add of value to queue If the queue is full this function will block, until a removal happens on the queue
Check of level of the specified queue.
Destroy the specified queue. Does not deallocate the queue_t structure itself.
Non-blocking add value queue if not full If the queue is full this function will return immediately with false, otherwise the data is copied into a new value added to the queue, and this function will return true.
Non-blocking removal of entry from the queue if non empty If the queue is not empty function will copy the removed value into the location provided and return immediately with true, otherwise the function will return immediately with false.
Initialise a queue with a specific spinlock for concurrency protection
Check if queue is empty This function is interrupt and multicore safe.
Non-blocking peek at the next item to be removed from the queue If the queue is not empty this function will return immediately with true with the peeked entry copied into the location specified by the data parameter, otherwise the function will return false.
Blocking peek at next value to be removed from queue If the queue is empty function will block until a value is added
Check if queue is full This function is interrupt and multicore safe.