소스 검색

* InitThread variant without parameters as user threads normally cannot know the max. stack size

git-svn-id: trunk@43068 -
florian 5 년 전
부모
커밋
5ed2475c85
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      rtl/inc/thread.inc

+ 7 - 0
rtl/inc/thread.inc

@@ -96,6 +96,13 @@ Var
           CurrentTM.ReleaseThreadVars;
       end;
 
+
+    procedure InitThread;
+      begin
+        { we should find a reasonable value here }
+        InitThread($1000000);
+      end;
+
 {*****************************************************************************
                             Overloaded functions
 *****************************************************************************}