Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2002-04

stack size for linux threads (suggestion)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Stefan Ziegenbalg

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

----------------------------------------------

http://www.sziegenbalg.de
http://www.simage.org

Reply by email