summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-09-28 17:52:42 +0200
committerNicolai Hähnle <[email protected]>2017-09-29 11:52:41 +0200
commita208cd7ae4c1613dfd9acafa6046c1cd0be4911f (patch)
treef44eea609e465dcafd598ca6f5eefd65021bbd30 /SConstruct
parentc49400a03bbea1319aa2b78fd3abb56e22a8b31d (diff)
util/queue: fix a race condition in the fence code
A tempting alternative fix would be adding a lock/unlock pair in util_queue_fence_is_signalled. However, that wouldn't actually improve anything in the semantics of util_queue_fence_is_signalled, while making that test much more heavy-weight. So this lock/unlock pair in util_queue_fence_destroy for "flushing out" other threads that may still be in util_queue_fence_signal looks like the better fix. v2: rephrase the comment Cc: [email protected] Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Gustaw Smolarczyk <[email protected]>
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions