소스 검색

atari: added the initialization of threading subsystem to system init

git-svn-id: trunk@34697 -
Károly Balogh 9 년 전
부모
커밋
42760951f9
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      rtl/atari/system.pp

+ 3 - 3
rtl/atari/system.pp

@@ -267,9 +267,9 @@ begin
   SysInitStdIO;
 { Reset IO Error }
   InOutRes:=0;
-(* This should be changed to a real value during *)
-(* thread driver initialization if appropriate.  *)
-  ThreadID := 1;
 { Setup command line arguments }
 //  argc:=GetParamCount(args);
+{$ifdef FPC_HAS_FEATURE_THREADING}
+  InitSystemThreads;
+{$endif}
 end.