[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 18:28:29 UTC 2021


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

Stanislav Blinov <stanislav.blinov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stanislav.blinov at gmail.com

--- Comment #3 from Stanislav Blinov <stanislav.blinov at gmail.com> ---
I might be wrong, but isn't what's happening here this?

- task starts, locks a's monitor and blocks in wait
- main thread calls set and blocks trying to lock a's monitor, which is already
locked by task

I.e. you've a deadlock, but not on condition variable :)

--


More information about the Digitalmars-d-bugs mailing list