diff options
author | Marek Olšák <[email protected]> | 2016-06-11 17:51:22 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-06-24 12:24:40 +0200 |
commit | 4358f6dd130680d60d48d6646959c11c8d7ca13d (patch) | |
tree | 9c9b63be1caf15bd655e9be749185d448c905923 /src/util/set.h | |
parent | d8367e91f2e3d8426e77674b39f36c09ed9992ec (diff) |
gallium/u_queue: rewrite util_queue_fence to allow multiple waiters
Checking "signalled" is first done without a mutex, then with a mutex.
Also, checking without waiting doesn't lock the mutex. This is racy, but
should be safe.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/util/set.h')
0 files changed, 0 insertions, 0 deletions