Shared keyword and the GC?

Jacob Carlborg doob at me.com
Fri Oct 19 00:39:52 PDT 2012


On 2012-10-18 22:29, Sean Kelly wrote:

> It's different in that a variable's address never actually changes.  When a thread completes it hands all of its pools to the shared allocator, and then per-thread allocators request free pools from the shared allocator before going to the OS.  This is basically how the HOARD allocator works.

Ah, now I see.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list