View topic - Program Priority get

Program Priority get

For discussion of realtime and/or embedded programming.

Program Priority get

Postby lalitmishra87 » Thu Aug 16, 2012 6:57 am

I have my project running with number of modules & features, I want to get priority of process/program at different places in my program.

Actually, Some process is changing my process priority so my not getting my program on expected priority what I set, So now I am willing to fetch priority at dfferent places..

Please help me out to do this... I tried with sched_param but unable to fetch... (*This is not thread, just want to place fetch priority at diffrent places so that can observe when ,my process/program priority is getting modified)

Please help me out...

Lalit Kumar
New Member
Posts: 1
Joined: Thu Aug 16, 2012 6:03 am

Re: Program Priority get

Postby maschoen » Thu Aug 16, 2012 4:31 pm

Every thread in your process has a priority. They may be different, and they may be the same. What would it mean to have a process with a priority, but all the threads at a different priority?
QNX Master
Posts: 2681
Joined: Wed Jun 25, 2003 5:18 pm

Return to Realtime and Embedded

Who is online

Users browsing this forum: No registered users and 5 guests