diff options
author | Tom Stellard <[email protected]> | 2015-05-07 13:57:14 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2015-05-11 18:52:18 +0000 |
commit | f546902d9597429713c83e2caf6b69856bd7ba4d (patch) | |
tree | 82ec75df7964205cafaf40ac1a048ff5b4cb9b3a /src/gallium/state_trackers/clover/util | |
parent | 73f4010082cf0fc2fe34c59e2eb5801eed10762b (diff) |
clover: Add a mutex to guard queue::queued_events
This fixes a potential crash where on a sequence like this:
Thread 0: Check if queue is not empty.
Thread 1: Remove item from queue, making it empty.
Thread 0: Do something assuming queue is not empty.
CC: 10.5 <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/util')
0 files changed, 0 insertions, 0 deletions