Allow jobs on the queue to begin executing. Return 0 on success, and a non‐zero value if the queue is not paused or !d_list.empty() and the associated thread pool fails to enqueue a job.
Allow jobs on the queue to begin executing. Return 0 on success, and a non‐zero value if the queue is not paused or !d_list.empty() and the associated thread pool fails to enqueue a job.