mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 21:09:24 +02:00
+ WebAssembly threads: set IsMultiThread to true in WasiBeginThread
This commit is contained in:
parent
0f39633acc
commit
200fbf64a1
@ -411,6 +411,7 @@ Var
|
||||
|
||||
begin
|
||||
{$IFDEF DEBUGWASMTHREADS}DebugWriteln('WasiBeginThread(sa: '+IntToStr(PtrUint(Sa))+',ss: '+IntToStr(PtrUint(StackSize))+',TF: '+IntToStr(PtrUint(ThreadFunction))+',Arg: '+IntToStr(PtrUint(P))+',fl: '+IntToStr(PtrUint(CreationFlags))+',ID: '+IntToStr(PtrUint(ThreadID))+')');{$ENDIF}
|
||||
IsMultiThread:=true;
|
||||
New(T);
|
||||
T^.StackBlock:=nil;
|
||||
T^.TLSBlock:=nil;
|
||||
|
Loading…
Reference in New Issue
Block a user