void valvula_thread_pool_new_task ( ValvulaCtx ctx,
ValvulaThreadFunc  func,
axlPointer  data 
)

Queue a new task inside the ValvulaThreadPool.

Queue a new task to be performed. This function is used by valvula for internal purpose so it should not be useful for valvula library consumers.

Parameters
ctxThe context where the operation will be performed.
functhe function to execute.
datathe data to be passed in to the function.

References valvula_async_queue_push().