diff options
author | nobled <[email protected]> | 2010-07-03 13:49:31 -0700 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-07-12 15:40:33 +0100 |
commit | 7ce9a3adc5832a4bdcf778ca8ebccfdd029fc180 (patch) | |
tree | 5f0f7285136db2373ce074bf8406f43429bedc13 /src/gallium/drivers/rbug/rbug_context.c | |
parent | f321d5c38ae704a6cb2252c7a78a69c367db00fc (diff) |
os, rbug: remove PIPE_THREAD_HAVE_CONDVAR
The new default implementation of pipe_condvar makes it
unnecessary.
Diffstat (limited to 'src/gallium/drivers/rbug/rbug_context.c')
-rw-r--r-- | src/gallium/drivers/rbug/rbug_context.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/rbug/rbug_context.c b/src/gallium/drivers/rbug/rbug_context.c index 00b167e256c..e0dd5cf8c2b 100644 --- a/src/gallium/drivers/rbug/rbug_context.c +++ b/src/gallium/drivers/rbug/rbug_context.c @@ -97,15 +97,7 @@ rbug_draw_block_locked(struct rbug_context *rb_pipe, int flag) /* wait for rbug to clear the blocked flag */ while (rb_pipe->draw_blocked & flag) { rb_pipe->draw_blocked |= flag; -#ifdef PIPE_THREAD_HAVE_CONDVAR pipe_condvar_wait(rb_pipe->draw_cond, rb_pipe->draw_mutex); -#else - pipe_mutex_unlock(rb_pipe->draw_mutex); -#ifdef PIPE_SUBSYSTEM_WINDOWS_USER - Sleep(1); -#endif - pipe_mutex_lock(rb_pipe->draw_mutex); -#endif } } |