axl_bool valvula_async_queue_push ( ValvulaAsyncQueue queue,
axlPointer  data 
)

Allows to push data into the queue.

Parameters
queueThe queue where data will be pushed.
dataA reference to the data to be pushed. It is not allowed to push null references.
Returns
axl_true In the case the item was pushed into the queue, otherwise axl_false is returned.

References valvula_cond_signal(), valvula_mutex_lock(), and valvula_mutex_unlock().

Referenced by valvula_thread_pool_new_task().