DLL with D (FreeLibrary problem)

2011-12-30 Thread Exec
wrong here. Exec

Re: DLL with D (FreeLibrary problem)

2011-12-30 Thread 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?

Re: Mixing D and C - Windows

2011-12-31 Thread Exec
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.

Error creating thread

2012-01-13 Thread exec
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:

Re: Error creating thread

2012-01-13 Thread exec
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