Lines Matching refs:queue
27 /* Job queue with execution in a separate thread.
221 bool util_queue_init(struct util_queue *queue,
226 void util_queue_destroy(struct util_queue *queue);
229 void util_queue_add_job(struct util_queue *queue,
234 void util_queue_drop_job(struct util_queue *queue,
237 void util_queue_finish(struct util_queue *queue);
240 * greater than the initial number of threads at the creation of the queue,
244 util_queue_adjust_num_threads(struct util_queue *queue, unsigned num_threads);
246 int64_t util_queue_get_thread_time_nano(struct util_queue *queue,
251 util_queue_is_initialized(struct util_queue *queue)
253 return queue->threads != NULL;
256 /* Convenient structure for monitoring the queue externally and passing
257 * the structure between Mesa components. The queue doesn't use it directly.
262 struct util_queue *queue;
264 /* Counters updated by the user of the queue. */