diff options
Diffstat (limited to 'lib/mesa/src/util/u_queue.h')
-rw-r--r-- | lib/mesa/src/util/u_queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mesa/src/util/u_queue.h b/lib/mesa/src/util/u_queue.h index b46b179b8..25f2c1589 100644 --- a/lib/mesa/src/util/u_queue.h +++ b/lib/mesa/src/util/u_queue.h @@ -205,7 +205,6 @@ struct util_queue_job { /* Put this into your context. */ struct util_queue { char name[14]; /* 13 characters = the thread name without the index */ - simple_mtx_t finish_lock; /* for util_queue_finish and protects threads/num_threads */ mtx_t lock; cnd_t has_queued_cond; cnd_t has_space_cond; @@ -249,7 +248,8 @@ void util_queue_finish(struct util_queue *queue); * and it can't be less than 1. */ void -util_queue_adjust_num_threads(struct util_queue *queue, unsigned num_threads); +util_queue_adjust_num_threads(struct util_queue *queue, unsigned num_threads, + bool locked); int64_t util_queue_get_thread_time_nano(struct util_queue *queue, unsigned thread_index); |