summaryrefslogtreecommitdiffstats
path: root/include/GLES
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2015-03-26 19:33:24 +0000
committerTom Stellard <[email protected]>2015-05-11 18:52:29 +0000
commit9c4dc98b298c74015f2a7c21571bccf0a5b6cc98 (patch)
tree2f4d848248f96b9e6e98073d16993e90ab09d819 /include/GLES
parentf546902d9597429713c83e2caf6b69856bd7ba4d (diff)
clover: Fix a bug with multi-threaded events v2
It was possible for some events never to get triggered if one thread was creating events and another threads was waiting for them. This patch consolidates soft_event::wait() and hard_event::wait() into event::wait() so that hard_event objects will now wait for all their dependencies to be submitted before flushing the command queue. v2: - Rename variables - Use mutable varibales so we can keep event::wait() const - Open code signalled() call so mutex can be atted to signalled without deadlocking. CC: 10.5 <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'include/GLES')
0 files changed, 0 insertions, 0 deletions