File tree Expand file tree Collapse file tree
src/libraries/System.Private.CoreLib/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 28762876 <Compile Include="$(MSBuildThisFileDirectory)System\Threading\LowLevelLifoSemaphore.cs" />
28772877 <Compile Include="$(MSBuildThisFileDirectory)System\Threading\LowLevelThreadBlocker.cs" />
28782878 <Compile Include="$(MSBuildThisFileDirectory)System\Threading\LowLevelFutex.Windows.cs" Condition="'$(TargetsWindows)' == 'true'" />
2879- <Compile Include="$(MSBuildThisFileDirectory)System\Threading\LowLevelFutex.Unix.cs" Condition="'$(TargetsUnix )' == 'true'" />
2879+ <Compile Include="$(MSBuildThisFileDirectory)System\Threading\LowLevelFutex.Unix.cs" Condition="'$(TargetsLinux )' == 'true'" />
28802880 <Compile Include="$(MSBuildThisFileDirectory)System\Threading\PreAllocatedOverlapped.Windows.cs" Condition="'$(TargetsWindows)' == 'true'" />
28812881 <Compile Include="$(MSBuildThisFileDirectory)System\Threading\PreAllocatedOverlapped.Unix.cs" Condition="'$(TargetsUnix)' == 'true' or ('$(TargetsBrowser)' == 'true' and '$(FeatureMultithreading)' == 'true')" />
28822882 <Compile Include="$(MSBuildThisFileDirectory)System\Threading\PreAllocatedOverlapped.Portable.cs" Condition="'$(FeatureMultithreading)' == 'true'" />
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ internal sealed partial class LowLevelLifoSemaphore
1717 {
1818 // Spinning in the threadpool semaphore is not always useful and benefits vary greatly by scenario.
1919 //
20- // Example1: An app periodically with rough time span T runs a task and waits for task` s completion.
20+ // Example1: An app periodically with rough time span T runs a task and waits for task' s completion.
2121 // The app would benefit if a threadpool worker spins for longer than T as worker would not need to be woken up.
2222 //
2323 // Example2: The new workitems may be produced by non-pool threads and could only arrive if pool threads start blocking.
You can’t perform that action at this time.
0 commit comments