On 24 Sep 2008, at 10:58, ABorka wrote:
I'm not sure that something is changed to make it incompatible.
The apache modules compiled on windows are only crashing if multiple
requests are coming at the same time, and they are crushing at
function/procedure returns (Yes, on Linux it is even worse, since no
module gets even loaded by apache. That might be some C API
translation problem).
Maybe you have to initialise the threading system so all the necessary
locks in the system unit get activated. Something like
{$ifdef unix}
uses
cthreads;
{$endif}
...
function dummythread(p: pointer): ptrint;
begin
end;
initialisation
WaitForThreadTerminate(BeginThread(@dummythread));
end.
Jonas
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel