[fpc-devel] Thread REVERT

Ales Katona ales at chello.sk
Sat Nov 5 10:21:11 CET 2005


Please remove ALL of my win32 thread patches(not the stacksize ones 
tho). Thanks to neli, I now know that ThreadFunc is not called directly 
by the OS, but my ThreadMain which already IS stdcall. My "bug" with 
threads was actualy cause by a -Ct (check stack) switch which in win32 
always causes a runtime error 202 (stack overflow) because of the 
default value for stack size which is 0.

So to sum it up, no patches required, bug is not a bug but a feature(the 
feature should get fixed IMO but I have no idea how stack checking works)

Ales



More information about the fpc-devel mailing list