3 ms·
Um, what are you talking about. There's a separate heap per thread and data sharing among threads ins't allowed. It's perfectly thread safe.
by TylerE 13y ago
Um, what are you talking about.
There's a separate heap per thread and data sharing among threads ins't allowed. It's perfectly thread safe.
- pcwalton 13y agoThe language doesn't enforce that GC'd pointers don't pass between threads. The GC can silently free stuff you didn't want freed if you pass objects between threads. This is not a property of a thread-safe GC.
- TylerE 13y agoYes, but in practice practically everything in Nimrod is a value, not a ref, so GC'd pointers are an extremely rare duck.