Results 1 to 2 of 2
Hi,
jst basic clarification.
if A thread is of priority 1 and B thread is of priority 2, then which one will execute first.?
i believe A is highest priority. ...
- 02-22-2008 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 28
pthread priority value
Hi,
jst basic clarification.
if A thread is of priority 1 and B thread is of priority 2, then which one will execute first.?
i believe A is highest priority. Is my understanding correct?
- 02-22-2008 #2
It's not that simple, of course, but in general, the greater the number (that is, the farther away this positive number is from zero), the "better" the priority for that thread, which is rather the opposite of what you guessed.
Hope this helps.--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote