Browse Source

* WebAssembly threads: use high(uint32) as MaxThreadSignal

Nikolay Nikolov 1 year ago
parent
commit
db1d903a11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/wasi/systhrd.inc

+ 1 - 1
rtl/wasi/systhrd.inc

@@ -25,7 +25,7 @@
 {//$DEFINE DEBUGWASMTHREADS}
 
 Const
-  MaxThreadSignal = 1000; // maximum threads to signal
+  MaxThreadSignal = high(uint32); // maximum threads to signal
 
 Type
   TThreadState = (tsNone,tsInit,tsRunning,tsCanceling,tsExit);