aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Threads Dan Exam Not-runnable vs. ready Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Threads Dan Exam Not-runnable vs. ready" Watch "Threads Dan Exam Not-runnable vs. ready" New topic
Author

Threads Dan Exam Not-runnable vs. ready

Gerald Spica
Ranch Hand

Joined: Jul 28, 2003
Posts: 30
On the Dan exam he uses the terms not-runnable and ready, I was originally thinking of not-runnable as dead, but in the context of some of his answers it seems to have the same definition as ready. Can anyone define these terms?
Dan Chisholm
Ranch Hand

Joined: Jul 02, 2002
Posts: 1865
Gerald,
The Java Language Specification does not define state names, so there is no general consensus on what the names should be. For example, Doug Lea uses the names Created, Runnable, Running, Blocked, and Terminated. Cay Horstmann uses the names New, Runnable, Blocked and Dead. My exam uses the state names that appear in Sun's Java tutorial.
The JLS can not define state names, because Java makes use of threading functionality that existed before Java. In other words, Java really just provides an API to products that were already up and running.
The "Not-Runnable" state can also be called the "Blocked" state. The "Ready" state could also be called the "Runnable" state.


Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Threads Dan Exam Not-runnable vs. ready