3 ms·
In D the GC heap is shared across registered threads, so it supports values allocated in one thread and passed to another. This particular passage from one thre
by p0nce 7y ago
In D the GC heap is shared across registered threads, so it supports values allocated in one thread and passed to another. This particular passage from one thread to the other is guarded by a "shared" type constructor, so as to have a type system guarantee.