Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in K&B SCJP 5: multithreading

 
Stary Kapec
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page: 691

Waiting/blocked/sleeping This is the state a thread is in when it's
eligible to run.

Shouldn't it be?

Waiting/blocked/sleeping This is the state a thread is in when it's
NOT eligible to run.
 
Dave Reinhardt
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was just reading that too and found the wording confusing. Maybe they mean it's eligible to be in a runnable state, but not elibible to run...not sure
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic