[Mesa-dev] [Bug 98172] Concurrent call to glClientWaitSync results in segfault in one of the waiters.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 19 01:19:52 UTC 2016


--- Comment #26 from Michel Dänzer <michel at daenzer.net> ---
(In reply to Marek Olšák from comment #24)
> Hm. Probably none.

Actually, I think there are: E.g. consider one thread calling glClientWaitSync
with a non-0 timeout, blocking for some time with the mutex locked. If another
thread calls glClientWaitSync with a 0 timeout (or whichever API call ends up
in st_check_sync) during that time, it'll block until the first thread unlocks
the mutex.

You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161019/57970d6a/attachment.html>

More information about the mesa-dev mailing list