Commit 1e926fe4 authored by Keith Whitwell's avatar Keith Whitwell

llvmpipe: wake all threads waiting on a fence

parent b6e03eaf
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment