System.Threading.SpinWait.NextSpinWillYield Property

Gets whether the next call to SpinWait.SpinOnce will yield the processor, triggering a forced context switch.

Syntax

public bool NextSpinWillYield { get; }

Value

Documentation for this section has not yet been entered.

Remarks

On a single-CPU machine, SpinWait.SpinOnce always yields the processor. On machines with multiple CPUs, SpinWait.SpinOnce may yield after an unspecified number of calls.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0