summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-08-20 15:15:36 +0100
committerKeith Whitwell <[email protected]>2010-08-25 10:29:27 +0100
commit1e926fe42a9780fd5e6574df2014a75d4af1101d (patch)
tree8184f008c025696d14d6bc904b13ebde48e78237 /src
parentb6e03eafe3311142445ca42c1574d3f6998eecc3 (diff)
llvmpipe: wake all threads waiting on a fence
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_fence.c4
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 4d549b07504..1f96dcd81a4 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);
}