diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 12:32:01 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:48:11 +1100 |
commit | 2efddc63ee864ab917e444b68a7c2dcf520d451e (patch) | |
tree | c5b3e14ccdf933775310fe593f6c14baf2b88f7b /src/gallium/state_trackers/nine | |
parent | 464d4806c112c6d224a55b328cde327a025acd91 (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/state_trackers/nine')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_queue.c | 4 | ||||
-rw-r--r-- | src/gallium/state_trackers/nine/nine_state.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/state_trackers/nine/nine_queue.c b/src/gallium/state_trackers/nine/nine_queue.c index b50b57bc90f..4724b6be584 100644 --- a/src/gallium/state_trackers/nine/nine_queue.c +++ b/src/gallium/state_trackers/nine/nine_queue.c @@ -74,8 +74,8 @@ struct nine_queue_pool { BOOL worker_wait; pipe_condvar event_pop; pipe_condvar event_push; - pipe_mutex mutex_pop; - pipe_mutex mutex_push; + mtx_t mutex_pop; + mtx_t mutex_push; }; /* Consumer functions: */ diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c index 90c49cf8f88..231e42272ec 100644 --- a/src/gallium/state_trackers/nine/nine_state.c +++ b/src/gallium/state_trackers/nine/nine_state.c @@ -64,13 +64,13 @@ struct csmt_context { struct nine_queue_pool* pool; BOOL terminate; pipe_condvar event_processed; - pipe_mutex mutex_processed; + mtx_t mutex_processed; struct NineDevice9 *device; BOOL processed; BOOL toPause; BOOL hasPaused; - pipe_mutex thread_running; - pipe_mutex thread_resume; + mtx_t thread_running; + mtx_t thread_resume; }; /* Wait for instruction to be processed. |