[Issue 15268] possible deadlock for Thread.getAll/Thread.opApply w/ GC.collect

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Oct 31 02:44:57 PDT 2015


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

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/d56a25997c069d6f5e657288f5d2d857dbd1a4fc
fix Issue 15268 - deadlock for Thread.getAll/Thread.opApply

- fix a deadlock caused by lock order inversion
- must not use the GC while holding slock

https://github.com/D-Programming-Language/druntime/commit/713aa0568a0ba7d775e97c59a7590048c5e6d762
Merge pull request #1421 from MartinNowak/fix15268

fix Issue 15268 - deadlock for Thread.getAll/Thread.opApply

--


More information about the Digitalmars-d-bugs mailing list