void * qev_queue_dequeue_unlocked(qev_queue_t *q)
Removes the next available thing from the queue in a non-thread-safe manner.
guint32 qev_queue_size(qev_queue_t *q)
The number of items in the queue.
void * qev_queue_dequeue(qev_queue_t *q)
Removes the next available thing from the queue.
struct qev_queue qev_queue_t
Yeah, I'm going to need you to go ahead and not touch this.
Definition: queue.h:17
void qev_queue_free(qev_queue_t *q)
Frees up the queue.
qev_queue_t * qev_queue_new(guint32 size)
Creates a new queue.
gboolean qev_queue_enqueue(qev_queue_t *q, void *thing)
Adds thing to the queue.
gboolean qev_queue_enqueue_unlocked(qev_queue_t *q, void *thing)
Adds thing to the queue in a non-thread-safe manner.
Provides all the qev_* functions that are needed for creating an event loop.