[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 19:15:43 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22555

--- Comment #7 from FeepingCreature <default_357-line at yahoo.de> ---
Owait yes your observation is correct. But that's not something that shows up
in D's semantics for Mutex; and would be annoying at any rate because D
core.sync does not have non-recursive mutexes in the first place. Ie. since
synchronized is supposed to allow double locking, it should still work with
core.sync.Condition. D's impl leaks a pthread problem in other words.

--


More information about the Digitalmars-d-bugs mailing list