Can we do thread scheduling? If yes, How do we use?How to know the priority of thread?

Showing Answers 1 - 2 of 2 Answers

rohit51

  • Apr 24th, 2007
 

yes,by detemine the nice value we can know the priority of a partcular thread and on the basis of this nice value we can shedule the threads using synchrinising mechanism such as semaphore

  Was this answer useful?  Yes

Mahesh

  • Sep 5th, 2007
 

If it is about scheduling processes nice value comes into picture but when you are talking about threads (LWP) nice value cannot be used. There are APIs to set the thread priorities to affect scheduling.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions