diff options
| author | Keith Whitwell <keithw@vmware.com> | 2010-08-20 15:15:36 +0100 | 
|---|---|---|
| committer | Keith Whitwell <keithw@vmware.com> | 2010-08-25 10:29:27 +0100 | 
| commit | 1e926fe42a9780fd5e6574df2014a75d4af1101d (patch) | |
| tree | 8184f008c025696d14d6bc904b13ebde48e78237 /src/gallium | |
| parent | b6e03eafe3311142445ca42c1574d3f6998eecc3 (diff) | |
llvmpipe: wake all threads waiting on a fence
Diffstat (limited to 'src/gallium')
| -rw-r--r-- | src/gallium/drivers/llvmpipe/lp_fence.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/gallium/drivers/llvmpipe/lp_fence.c b/src/gallium/drivers/llvmpipe/lp_fence.c index 4d549b0750..1f96dcd81a 100644 --- a/src/gallium/drivers/llvmpipe/lp_fence.c +++ b/src/gallium/drivers/llvmpipe/lp_fence.c @@ -146,7 +146,9 @@ lp_fence_signal(struct lp_fence *fence)        debug_printf("%s count=%u rank=%u\n", __FUNCTION__,                     fence->count, fence->rank); -   pipe_condvar_signal(fence->signalled); +   /* Wakeup all threads waiting on the mutex: +    */ +   pipe_condvar_broadcast(fence->signalled);     pipe_mutex_unlock(fence->mutex);  } | 
