mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 20:49:19 +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;
|
CurrentTM.ReleaseThreadVars;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure InitThread;
|
||||||
|
begin
|
||||||
|
{ we should find a reasonable value here }
|
||||||
|
InitThread($1000000);
|
||||||
|
end;
|
||||||
|
|
||||||
{*****************************************************************************
|
{*****************************************************************************
|
||||||
Overloaded functions
|
Overloaded functions
|
||||||
*****************************************************************************}
|
*****************************************************************************}
|
||||||
|
Loading…
Reference in New Issue
Block a user