Setting Priority

Hello,

I’m setting the priority of my process with the sched_setparam()
function, however when i do a pidin it still shows 10r. When I send a
message from this process to another, the other process will show the
priority that I had set. Is there a reason my process doesn’t show the
priority?

Thanks,
Eric

“Eric Norton” <enorton_nospam@nospam_fct.ca> wrote in message
news:clrg86$imr$1@inn.qnx.com

Hello,

I’m setting the priority of my process with the sched_setparam() function,
however when i do a pidin it still shows 10r. When I send a message from
this process to another, the other process will show the priority that I
had set. Is there a reason my process doesn’t show the priority?

You also need to change to default behavior from floating priority to fixed
priority.

Thanks,
Eric

You also need to change to default behavior from floating priority to fixed
priority.

The only thing I can find in the docs about fixed priority is with a
flag to ChannelCreate(). I would still like the processes I’m sending
to, to inherit my priority to handle my message. I just don’t understand
why my own process doesn’t show the priority I set it too.

Eric

“Eric Norton” <enorton_nospam@nospam_fct.ca> wrote in message
news:cltf93$4h7$1@inn.qnx.com

You also need to change to default behavior from floating priority to
fixed priority.

The only thing I can find in the docs about fixed priority is with a flag
to ChannelCreate(). I would still like the processes I’m sending to, to
inherit my priority to handle my message. I just don’t understand why my
own process doesn’t show the priority I set it too.

Probably because it gets set to the priority of a process that sends a
mesasge to it.

Eric