Re: yieldind and sleeping
Thursday, September 11, 2003 06:44 AM
If a thread sleeps, it sleeps for at least a certain period of time. It then becomes available to become the active thread again afterwards.
If a thread yields, it gives up control of the processor, but it may immediately become the active thread and start executing again.