[Issue 15939] GC.collect causes deadlock in multi-threaded environment

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 26 21:56:23 PDT 2016


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #8 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Aleksei Preobrazhenskii from comment #7)
> I was running tests for past five days, I didn't see any deadlocks since I
> switched GC to using real-time POSIX signals (thread_setGCSignals(SIGRTMIN,
> SIGRTMIN + 1)). I would recommend to change default signals accordingly.

Since you've written the code to fix it, please write a Pull Request for it.
That way you get the credit!

--


More information about the Digitalmars-d-bugs mailing list