projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e03ea
)
llvmpipe: wake all threads waiting on a fence
author
Keith Whitwell
<keithw@vmware.com>
Fri, 20 Aug 2010 14:15:36 +0000
(15:15 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Wed, 25 Aug 2010 09:29:27 +0000
(10:29 +0100)
src/gallium/drivers/llvmpipe/lp_fence.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_fence.c
b/src/gallium/drivers/llvmpipe/lp_fence.c
index 4d549b075049e2dd78e25ff61bf45d0ea4a3b5bc..1f96dcd81a4a650ca8dd67f7b9f17644dd62b010 100644
(file)
--- 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);
}