Pārlūkot izejas kodu

+ call InitSystemThreads in the system unit startup for WASI

git-svn-id: branches/wasm@48313 -
nickysn 4 gadi atpakaļ
vecāks
revīzija
cdb74f034c
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      rtl/wasi/system.pp

+ 3 - 0
rtl/wasi/system.pp

@@ -348,4 +348,7 @@ begin
   SysInitStdIO;
   { Reset IO Error }
   InOutRes:=0;
+{$ifdef FPC_HAS_FEATURE_THREADING}
+  InitSystemThreads;
+{$endif}
 end.