mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 10:20:21 +02:00
* InitThread variant without parameters as user threads normally cannot know the max. stack size
git-svn-id: trunk@43068 -
This commit is contained in:
parent
14b7eaa46f
commit
5ed2475c85
@ -96,6 +96,13 @@ Var
|
||||
CurrentTM.ReleaseThreadVars;
|
||||
end;
|
||||
|
||||
|
||||
procedure InitThread;
|
||||
begin
|
||||
{ we should find a reasonable value here }
|
||||
InitThread($1000000);
|
||||
end;
|
||||
|
||||
{*****************************************************************************
|
||||
Overloaded functions
|
||||
*****************************************************************************}
|
||||
|
Loading…
Reference in New Issue
Block a user