Can't use threads

Andre Pany andre at s-e-a-p.de
Sun May 5 03:32:37 UTC 2019


On Saturday, 4 May 2019 at 22:29:26 UTC, Aldo wrote:
> Hello,
>
> i'm trying to run 3 threads with the following code :
>
> https://run.dlang.io/is/p4ThlD
>
> It works on run.dlang.io but not on my windows 10 :
>
> core.thread.ThreadError at src\core\thread.d(3078): Unable to load 
> thread context
>
> If I lower the allocated ubyte array it works...can you help me 
> ?
>
> thanks.

Does it work on windows if you compile it it as 64 bit 
application (-m64 argument if I remember correctly, dub argument 
-a x86_64)?
On linux and Darwin 64 is default while on windows 32 bit 
architecture is default.

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list