Searched refs:num_queued (Results 1 – 3 of 3) sorted by relevance
251 assert(queue->num_queued >= 0 && queue->num_queued <= queue->max_jobs); in util_queue_thread_func()254 while (!queue->kill_threads && queue->num_queued == 0) in util_queue_thread_func()266 queue->num_queued--; in util_queue_thread_func()288 queue->num_queued = 0; in util_queue_thread_func()316 queue->num_queued = 0; in util_queue_init()428 assert(queue->num_queued >= 0 && queue->num_queued <= queue->max_jobs); in util_queue_add_job()430 if (queue->num_queued == queue->max_jobs) { in util_queue_add_job()450 assert(num_jobs == queue->num_queued); in util_queue_add_job()459 while (queue->num_queued == queue->max_jobs) in util_queue_add_job()472 queue->num_queued++; in util_queue_add_job()
209 int num_queued; member
1118 def num_queued(self): member in Job