Hi,
I am trying to demonstrate the MARS pathfinder problem (see my homepage
under “know how”) withing QNX 4 training course. I would like to do that the
most realistic way. The idea is to use semaphores. Do these behave with
priority inversion problem or without
(I would like to swap from priority inversion to priority inheritance during
the training).
Hi,
I am trying to demonstrate the MARS pathfinder problem (see my homepage
under “know how”) withing QNX 4 training course. I would like to do that
the
most realistic way. The idea is to use semaphores. Do these behave with
priority inversion problem or without
(I would like to swap from priority inversion to priority inheritance
during
the training).
Semaphores don’t transmit priority information, so you could
create a priority inversion with them.
Message passing, by default, doesn’t transmit priority information,
but the receiving process can set the _PPF_PRIORITY_FLOAT flag using
the qnx_pflags() call, and have message transmit priority information,
thereby preventing the priority inversion problem.
So, if you want to demonstrate a before & after, message passing
might be better than semaphores.
“IBK” <> joerg.kampmann@ibk-consult.de> > schrieb im Newsbeitrag
news:abea95$oor$> 1@inn.qnx.com> …
Hi,
I am trying to demonstrate the MARS pathfinder problem (see my homepage
under “know how”) withing QNX 4 training course. I would like to do that
the
most realistic way. The idea is to use semaphores. Do these behave with
priority inversion problem or without
(I would like to swap from priority inversion to priority inheritance
during
the training).