This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Can we say at a Given time, Thread in running state will always have higher prioriy than all the threads in the pool with ready state. In short can we be sure that always higher priority Thread will be running. I guess in some cases to prevent starvation Thread Scheduler may give a chance to lower proirity threads to run, holding higher priority threads CAN SOME PLZ COMMENT ON IT regs Vivek Nidhi [ December 06, 2003: Message edited by: Vivek Nidhi ]
Hi William, Sorry but I am having doubt on what you said. As it is given in the K&B book(PG 512) that " At any given time the currently running thread usually will not have a priority that is lower than any of the threads in the pool. The running thread will be equal or greater priority than the highest running threads in the pool. This is as close a guarantee abt scheduling ......... So according to the above explanation the statement is true !!! Any comments??
"The man who can drive himself further once the effort gets painful is the man who will win." <br />Roger Bannister