diff options
Diffstat (limited to 'src/gallium/auxiliary/util/u_queue.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_queue.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_queue.h b/src/gallium/auxiliary/util/u_queue.h index f005ad5ef4c..750327e0279 100644 --- a/src/gallium/auxiliary/util/u_queue.h +++ b/src/gallium/auxiliary/util/u_queue.h @@ -53,9 +53,10 @@ struct util_queue_job { struct util_queue { const char *name; pipe_mutex lock; - pipe_semaphore has_space; - pipe_semaphore queued; + pipe_condvar has_queued_cond; + pipe_condvar has_space_cond; pipe_thread *threads; + int num_queued; unsigned num_threads; int kill_threads; int max_jobs; |