new(malloc) locks everything in multithreading

safety0ff via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 23 20:42:28 PDT 2014


On Friday, 24 October 2014 at 02:51:20 UTC, tcak wrote:
>
> I don't want to blame dmd directly because as far as I see from 
> the search I did with "__lll_lock_wait_private", some C++ 
> programs are having same problem with malloc operation as well. 
> But still, can this be because of compiler?

Looks like bug #11981 [1], which should be fixed in the latest 
versions of the compiler. Which version are you using?

[1] https://issues.dlang.org/show_bug.cgi?id=11981


More information about the Digitalmars-d-learn mailing list