void valvula_async_queue_foreach ( ValvulaAsyncQueue queue,
ValvulaAsyncQueueForeach  foreach_func,
axlPointer  user_data 

Allows to perform a foreach operation on the provided queue, applying the provided function over all items stored.

queueThe queue that will receive the foreach operation.
foreach_funcThe function to call for each item found.
user_dataUser defined pointer to be passed to the function.

References valvula_mutex_lock(), and valvula_mutex_unlock().