Просмотр исходного кода

+ PS1: initialize the thread manager in the system unit

Nikolay Nikolov 1 год назад
Родитель
Сommit
73aa2fd266
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      rtl/ps1/system.pp

+ 5 - 0
rtl/ps1/system.pp

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