Add package for Timer. Use SpinWait struct to simulate the Thread.Yield. ...
Add package for Timer. Use SpinWait struct to simulate the Thread.Yield. According to MSDN it will always yield after the initial several spins. Simple test shows it yields after 11 spins.
Showing
This diff is collapsed.
Please register or sign in to comment