Author | Topic: threads |
shan unregistered |
posted February 20, 2000 08:32 PM
which are true sleep puts thread in ready state //f is in waitstate
|
maha anna bartender |
posted February 20, 2000 09:42 PM
You are correct in all except the 2nd . .yield() puts the thread back to Ready state When yield() is called, the thread on which it is called yields the execution slot to another thread (who are in ready state). maha anna
|
| | |