The "no gc" crowd
Walter Bright
newshound2 at digitalmars.com
Tue Oct 8 20:31:00 PDT 2013
On 10/8/2013 8:18 PM, deadalnix wrote:
> We also badly need to be able to use type qualifier. We must
> stop the world when collecting thread local data or immutable one. That do not
> make any sense.
Making this work is fraught with difficulty. It is normal behavior in D to
create local data with new(), build a data structure, and then cast it to shared
so it can be transferred to another thread. This will fail miserably if the data
is allocated on a thread local heap.
More information about the Digitalmars-d
mailing list