Results 1 to 2 of 2
Hi,
I need some inputs on pthread priority.
Thread A which is of priority 5 is creating thread B which is of priority 3.
In the run function of thread ...
- 08-20-2008 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 28
pthread priority
Hi,
I need some inputs on pthread priority.
Thread A which is of priority 5 is creating thread B which is of priority 3.
In the run function of thread B, I just put while(1) and I run this application in background.
Once the thread B is created, I couldnt give any inputs in teraterm.
Can you please let me know, what might be the issue
- 08-21-2008 #2Just Joined!
- Join Date
- Dec 2007
- Posts
- 28
Hi,
If a low priority thread in user application tries to call system function eg(system("ifconfig"), then how schduler handles it.
My understanding is even though it is low priority thread, it blocks other high priority threads till the system function comes out. Is my understanding correct?
If yes, is it possible to make the high priority thread to run???


Reply With Quote