Lines Matching defs:queue
27 /* Job queue with execution in a separate thread.
219 size_t total_jobs_size; /* memory use of all jobs in the queue */
227 bool util_queue_init(struct util_queue *queue,
233 void util_queue_destroy(struct util_queue *queue);
236 void util_queue_add_job(struct util_queue *queue,
242 void util_queue_drop_job(struct util_queue *queue,
245 void util_queue_finish(struct util_queue *queue);
248 * greater than the initial number of threads at the creation of the queue,
252 util_queue_adjust_num_threads(struct util_queue *queue, unsigned num_threads);
254 int64_t util_queue_get_thread_time_nano(struct util_queue *queue,
259 util_queue_is_initialized(struct util_queue *queue)
261 return queue->threads != NULL;
264 /* Convenient structure for monitoring the queue externally and passing
265 * the structure between Mesa components. The queue doesn't use it directly.
270 struct util_queue *queue;
272 /* Counters updated by the user of the queue. */