[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Priority inversion and CSP channels?
Guys
We had a round about this the other day. I'll add this:
In last number of Dedicated Systems Magazine, they
say about QNX (http://www.dedicated-systems.com/):
"QNX 4.25
.. is completely message based..
.. does not provide mutexes. Priority-inversion safe mutexes
can be simulated by means of threads and message passing
services, but at the expense of performance and flexibility.
Mutex objects should be provided."
My comment:
The last sentence is on Martin Timmermann's own account.
He hasn't deeply understood what message passing is about.
You don't "simulate", you design correctly and use a
pattern to avoid priority inversion altogether (like Peter
described)!
--
Oyvind
(------------------------------------------------------------------(
) Oyvind Teig ) oyvind.teig@xxxxxxxxxxxx ) Tel: +47 )
( Navia Maritime AS ( oyvind.teig@xxxxxxxxxxxx ( 73581268 (
) div. Autronica ) ) Fax: +47 )
( 7005 Trondheim ( http://www.autronica.no ( 73919320 (
) Norway ) ) )
(------------------------------------------------------------------(
) http://www.autronica.no/pub/tech/rd/index.htm )
(------------------------------------------------------------------(