Originally posted by Shawn Kuenzler:
I understand what you're saying but the statement above still contradicts the figure on p.691 of the book.
Either a thread must be dead and never return to the runnable state, or it can run and then it just goes back to runnable.
But the thread is not returning the runnable state.
Consider this example.
Just because I call the run method of MyThread, that does not put the thread in the runnable state.
The method is executed by the main thread.
[ April 23, 2006: Message edited by: Keith Lynn ]