[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: (fwd)



>From owner-rtl Wed Jul 18 08:55:31 2001
Received: from server.rwii.com ([208.166.87.138])
	by localhost.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f6IEtUU24432
	for <rtl@fsmlabs.com>; Wed, 18 Jul 2001 08:55:31 -0600
Received: from rwii.com (IDENT:tyson@ppp0.rwii.com [192.168.1.20])
	by server.rwii.com (8.11.2/8.11.2) with ESMTP id f6IEsc032527
	for <rtl@fsmlabs.com>; Wed, 18 Jul 2001 10:54:38 -0400
Sender: tyson@rwii.com
Message-ID: <3B55A249.C128C6EB@rwii.com>
Date: Wed, 18 Jul 2001 10:50:49 -0400
From: Tyson D Sawyer <tyson@rwii.com>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.31 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: rtl@fsmlabs.com
Subject: No priority inheritance
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

A question from the ignorant:

I understand the problems that can remain with priority inheritance with
mutexes but I'm at a bit of a loss as to how to do things "correctly". 
Even a
condition variable requires use of a mutex that might create "priority
inversion"
problems.

I know how to use mutexes with priority inheritance and so long as I
don't let things get ugly, I know how the system will work.  Without
priority inheritance I don't know where to begin other than to not use
any sort of mutex (and therefore condition variable) at all.  A system
with no syncronization seems a bit ugly, but is that the only other
option?

Pointers to the right things to read would be appriciated.  The FAQ says
to ask and doesn't include any help.

Thanks!
Ty

-- 
Tyson D Sawyer                             iRobot Corporation
Senior Systems Engineer                    Real World Interface Div.
tsawyer@irobot.com                         Robots for the Real World
603-532-6900 ext 206                       http://www.irobot.com

----- End of forwarded message from owner-rtl@fsmlabs.com -----