* Adapt standard worker based on new threading classes

This commit is contained in:
Michael Van Canneyt 2025-04-24 16:05:10 +02:00
parent ec03a7146c
commit 8353c6620f
2 changed files with 18 additions and 2 deletions

View File

@ -29,6 +29,22 @@
<Filename Value="pas2jsthreadworker.pas"/> <Filename Value="pas2jsthreadworker.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
</Unit> </Unit>
<Unit>
<Filename Value="../../fcl-base/src/workerapp.pas"/>
<IsPartOfProject Value="True"/>
</Unit>
<Unit>
<Filename Value="../src/wasiworkerapp.pas"/>
<IsPartOfProject Value="True"/>
</Unit>
<Unit>
<Filename Value="../src/rtl.threadrunner.pas"/>
<IsPartOfProject Value="True"/>
</Unit>
<Unit>
<Filename Value="../src/rtl.workerthreadhost.pas"/>
<IsPartOfProject Value="True"/>
</Unit>
</Units> </Units>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>
@ -43,8 +59,8 @@
<Parsing> <Parsing>
<SyntaxOptions> <SyntaxOptions>
<AllowLabel Value="False"/> <AllowLabel Value="False"/>
<CPPInline Value="False"/>
<UseAnsiStrings Value="False"/> <UseAnsiStrings Value="False"/>
<CPPInline Value="False"/>
</SyntaxOptions> </SyntaxOptions>
</Parsing> </Parsing>
<CodeGeneration> <CodeGeneration>

View File

@ -3,7 +3,7 @@ program pas2jsthreadworker;
{$mode objfpc} {$mode objfpc}
uses uses
Classes, WasiWorkerThreadHost; Classes, rtl.threadrunner;
type type
{ TApplication } { TApplication }