[Issue 18544] Thread-safety of "proto" GC before initialisation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 1 16:42:48 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18544
--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Hm.. actually that doesn't work, because one thread could be adding roots while
the other one is initializing the GC, causing a race.
There may just have to be some sort of lock, even if it's a simple/spin lock.
--
More information about the Digitalmars-d-bugs
mailing list