[Issue 22555] Recursively locked mutexes are not fully released by Condition.wait
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 30 17:21:34 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22555
--- Comment #2 from FeepingCreature <default_357-line at yahoo.de> ---
I don't see any good way in fact to fix this while Mutex is recursive. I've
been playing with approaches all day, but the problem is that the interaction
of pthread_cond_wait and mutexes leaves it fairly open whether the mutex is
actually locked after pthread_mutex_wait has returned - and there is no way to
check!
--
More information about the Digitalmars-d-bugs
mailing list