diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 10:41:33 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:23:26 +1100 |
commit | 464d4806c112c6d224a55b328cde327a025acd91 (patch) | |
tree | bbc1b555904fe529945f22940e2e3d5e10b94c2e /src/gallium/auxiliary/os/os_thread.h | |
parent | 5e56c2c79d6d7e59d9098b79912149b00973251d (diff) |
gallium/util: replace pipe_condvar_broadcast() with cnd_broadcast()
pipe_condvar_broadcast() was made unnecessary with fd33a6bcd7f12.
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/os/os_thread.h')
-rw-r--r-- | src/gallium/auxiliary/os/os_thread.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h index a8b5d926342..6eca2ca2c7a 100644 --- a/src/gallium/auxiliary/os/os_thread.h +++ b/src/gallium/auxiliary/os/os_thread.h @@ -148,9 +148,6 @@ __pipe_mutex_assert_locked(pipe_mutex *mutex) */ typedef cnd_t pipe_condvar; -#define pipe_condvar_broadcast(cond) \ - cnd_broadcast(&(cond)) - /* * pipe_barrier @@ -218,7 +215,7 @@ static inline void pipe_barrier_wait(pipe_barrier *barrier) } else { barrier->waiters = 0; barrier->sequence++; - pipe_condvar_broadcast(barrier->condvar); + cnd_broadcast(&barrier->condvar); } pipe_mutex_unlock(barrier->mutex); |