Gives way to other threads waiting to be scheduled. This function is often used as a method to make busy wait less evil. But in most cases you will encounter, there are better methods to do that. So in general you shouldn't use this function.
See Implementation
Gives way to other threads waiting to be scheduled. This function is often used as a method to make busy wait less evil. But in most cases you will encounter, there are better methods to do that. So in general you shouldn't use this function.