new(malloc) locks everything in multithreading

tcak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 24 03:49:41 PDT 2014


On Friday, 24 October 2014 at 10:46:57 UTC, tcak wrote:
> On Friday, 24 October 2014 at 10:29:10 UTC, Kagamin wrote:
>> Looks like your IDE filters too much. Can you configure it to 
>> filter less and show address locations?
>
> This is what I have found:
>
> Main Thread
> http://i.imgur.com/6ElZ3Fm.png
>
> Second Thread (TestThread)
> http://i.imgur.com/w4y5gYB.png

BTW, instead of using Monodevelop with Mono-D, I used same code 
on a text
file, and compiled with "dmd test.d", then run with "./test", 
then everything
works fine. When I run it with "gdb ./test", then I can see those 
errors again.


More information about the Digitalmars-d-learn mailing list