File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/libraries/System.Private.CoreLib/src/System/Threading Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ private void SpinOnceCore(int sleep1Threshold)
167167 // - When there are no threads to switch to, Yield and Sleep(0) become no-op and it turns the spin loop into a
168168 // busy-spin that may quickly reach the max spin count and cause the thread to enter a wait state, or may
169169 // just busy-spin for longer than desired before a Sleep(1). Completing the spin loop too early can cause
170- // excessive context switcing if a wait follows, and entering the Sleep(1) stage too early can cause
170+ // excessive context switching if a wait follows, and entering the Sleep(1) stage too early can cause
171171 // excessive delays.
172172 // - If there are multiple threads doing Yield and Sleep(0) (typically from the same spin loop due to
173173 // contention), they may switch between one another, delaying work that can make progress.
You can’t perform that action at this time.
0 commit comments