Array append performance

Adam D. Ruppe destructionator at gmail.com
Sat Aug 23 11:12:52 PDT 2008


On Sat, Aug 23, 2008 at 05:50:08PM +0000, dsimcha wrote:
> Does anyone know if DMD's std.c.stdlib.malloc/free/realloc are threadsafe?

I wouldn't rely on it. Those are just interfaces to the platform's native
C library, which may or may not be thread safe - the C spec doesn't say
anything about threads at all (if I remember correctly).

-- 
Adam D. Ruppe
http://arsdnet.net



More information about the Digitalmars-d mailing list