Pārlūkot izejas kodu

+ PS1: initialize the thread manager in the system unit

Nikolay Nikolov 1 gadu atpakaļ
vecāks
revīzija
73aa2fd266
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      rtl/ps1/system.pp

+ 5 - 0
rtl/ps1/system.pp

@@ -145,4 +145,9 @@ begin
 
 
   { Reset IO Error }
   { Reset IO Error }
   InOutRes:= 0;
   InOutRes:= 0;
+
+{$ifdef FPC_HAS_FEATURE_THREADING}
+  { Initialize the thread manager }
+  InitSystemThreads;
+{$endif}
 end.
 end.