[fpc-devel]stack size for linux threads (suggestion)

Stefan Ziegenbalg stefan.ziegenbalg at mailbox.tu-dresden.de
Mon Apr 15 10:30:21 CEST 2002


Hello,

could you insert something like

const FDefaultStacksize = 16384;

into the interface of the classes unit and replace the line

FStackSize:=16384;  { thread.inc, line 170 }

by

FStackSize:=FDefaultStacksize;

?

This would allow to change the size of stack which is created for
thread. (Since I get into trouble with the small 16K stack.)

Is it possible to make this change in the 1.0.6(pre) sources?


Regards Stefan


----------------------------------------------
mailto:stefan.ziegenbalg at mailbox.tu-dresden.de
http://www.sziegenbalg.de
http://www.simage.org




More information about the fpc-devel mailing list