Skip to content

Commit 1ae288b

Browse files
Move a couple of WASM threading files to the shared partition (#118304)
* Move threading files * Also move the WASI files for consistency
1 parent 215a79a commit 1ae288b

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2810,6 +2810,15 @@
28102810
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\ThreadPool.Browser.cs" />
28112811
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\TimerQueue.Browser.cs" />
28122812
</ItemGroup>
2813+
<ItemGroup Condition="'$(TargetsWasi)' == 'true' and '$(FeatureWasmManagedThreads)' != 'true'">
2814+
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\ThreadPool.Wasi.cs" />
2815+
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\TimerQueue.Wasi.cs" />
2816+
</ItemGroup>
2817+
<ItemGroup Condition="'$(TargetsBrowser)' == 'true' and '$(FeatureWasmManagedThreads)' == 'true'">
2818+
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\ThreadPoolBoundHandle.Browser.Threads.cs" />
2819+
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\PortableThreadPool.Browser.Threads.cs" />
2820+
<Compile Include="$(MSBuildThisFileDirectory)System\Threading\ThreadPool.Browser.Threads.cs" />
2821+
</ItemGroup>
28132822
<ItemGroup Condition="'$(FeatureObjCMarshal)' == 'true'">
28142823
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\InteropServices\ObjectiveC\ObjectiveCMarshal.cs" />
28152824
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\InteropServices\ObjectiveC\ObjectiveCTrackedTypeAttribute.cs" />

src/mono/System.Private.CoreLib/System.Private.CoreLib.csproj

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,6 @@
264264
<ItemGroup Condition="('$(TargetsUnix)' == 'true' or '$(TargetsBrowser)' == 'true' or '$(TargetsWasi)' == 'true') and '$(FeaturePortableThreadPool)' == 'true'">
265265
<Compile Include="$(BclSourcesRoot)\System\Threading\LowLevelLifoSemaphore.Unix.Mono.cs" />
266266
</ItemGroup>
267-
<ItemGroup Condition="'$(TargetsBrowser)' == 'true' and '$(FeatureWasmManagedThreads)' == 'true'">
268-
<Compile Include="$(BclSourcesRoot)\System\Threading\ThreadPoolBoundHandle.Browser.Threads.Mono.cs" />
269-
<Compile Include="$(BclSourcesRoot)\System\Threading\PortableThreadPool.Browser.Threads.Mono.cs" />
270-
<Compile Include="$(BclSourcesRoot)\System\Threading\ThreadPool.Browser.Threads.Mono.cs" />
271-
</ItemGroup>
272-
<ItemGroup Condition="'$(TargetsWasi)' == 'true'">
273-
<Compile Include="$(BclSourcesRoot)\System\Threading\ThreadPool.Wasi.Mono.cs" />
274-
<Compile Include="$(BclSourcesRoot)\System\Threading\TimerQueue.Wasi.Mono.cs" />
275-
</ItemGroup>
276267
<ItemGroup>
277268
<Compile Include="$(BclSourcesRoot)\Mono\HotReload.cs" />
278269
<Compile Include="$(BclSourcesRoot)\Mono\RuntimeStructs.cs" />

0 commit comments

Comments
 (0)