04-24-2011, 10:28 PM
dear sir in case of yield it give chance to the next thread of equal priority but if we use the sleep and our program have the two or more equal priority threads then is sleep give chance to the next equal priority thread or it give chance to the next thread which has higher priority but lower priority then the currenlty running thread? please explian it.
