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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com