Sleep(0) vs. Yield

  • Thread starter Thread starter AndreyTar
  • Start date Start date
A

AndreyTar

Guest
The documentation says that Yield differs from Sleep(0) is that the former will relinquish the remainder of the timeslice to a thread running on the same processor. What exactly is meant by the "processor" in this context? A logical core? Or a physical chip?

In other words, does the aforementioned difference between Yield and Sleep(0) apply on a multi-core single-CPU system?

Continue reading...
 
Back
Top