Infolinks In Text Ads

Nov 11, 2010

difference between yield and sleeping

What is the difference between yield and sleeping

When a task invokes yield(), it changes from running state to runnable state. When a task invokes sleep(), it
changes from running state to waiting/sleeping state.

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...