what could be going wrong here.
Exec
It appears as if the following code in the detach case solves the problem:
> std.c.stdio._fcloseallp = null;
I'm not sure why though... why is the call such a problem, that even crashes
the application, and doesn't it have any disadvantages, not to call it?
Jakob Ovrum Wrote:
> As for loading C symbols in a DLL from a D program, you must link
> against an import library of the DLL, and create an interface
> module (similar to a header file) with the C declarations.
Alternatively, you can load the DLL via the Windows API.
http://msdn.microsoft.com/en
I'm currently fiddling around with some stuff, and I was curious
how well thousands of threads run simultaneously.
The problem now is, that I'm often running into the following
exception:
core.thread.ThreadException@src\core\thread.d(817): Error
creating thread
Here's my test program:
http://
On Friday, 13 January 2012 at 20:02:21 UTC, Jonathan M Davis
wrote:
Yeah. You can have user-defined limits too. IIRC, on Linux, the
default thread limit per user is 1024 threads, whereas the
system limit is over 60,000. The limits can be tweaked if you
need to though. I assume that the situatio