• Post Reply Bookmark Topic Watch Topic
  • New Topic

wht is diff between ready , runnable and new states

 
kumarth ravi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I knew what is Runnable state.(when start() method is called on thread instance,then the thread moves form new state to Runnable state). Is Ready and
Runable states are same or different.


with regards,
ravi
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Different books use different terminology, but generally Ready and Runnable should mean the same thing. Nowadays it's probably best to stick to the terminology used in Thread.State, introduced in JDK 5.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!