summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_queue.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-05 12:32:01 +1100
committerTimothy Arceri <[email protected]>2017-03-07 08:48:11 +1100
commit2efddc63ee864ab917e444b68a7c2dcf520d451e (patch)
treec5b3e14ccdf933775310fe593f6c14baf2b88f7b /src/gallium/auxiliary/util/u_queue.h
parent464d4806c112c6d224a55b328cde327a025acd91 (diff)
gallium/util: replace pipe_mutex with mtx_t
pipe_mutex was made unnecessary with fd33a6bcd7f12. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_queue.h')
-rw-r--r--src/gallium/auxiliary/util/u_queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_queue.h b/src/gallium/auxiliary/util/u_queue.h
index 2e0a5a36e26..8d4804f5c6a 100644
--- a/src/gallium/auxiliary/util/u_queue.h
+++ b/src/gallium/auxiliary/util/u_queue.h
@@ -40,7 +40,7 @@
* Put this into your job structure.
*/
struct util_queue_fence {
- pipe_mutex mutex;
+ mtx_t mutex;
pipe_condvar cond;
int signalled;
};
@@ -57,7 +57,7 @@ struct util_queue_job {
/* Put this into your context. */
struct util_queue {
const char *name;
- pipe_mutex lock;
+ mtx_t lock;
pipe_condvar has_queued_cond;
pipe_condvar has_space_cond;
pipe_thread *threads;