Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: David Butenhof <David.Butenhof@compaq.com>
Subject: Re: looking for priority inheretance for mutex in digital unix ver 4.0
Date: Mon, 07 Jan 2002 13:24:41 -0500	[thread overview]
Message-ID: <lPl_7.357$5Y4.10033@news.cpqcorp.net> (raw)
In-Reply-To: aba0c7dd.0201030429.5805674e@posting.google.com

Itamar Caspi wrote:

> Our Alfa system works in RT with root permission.
> We've encountered a priority inversion problem between our processes.
> 
> I know how to solve this by boosting priorities before locking the
> shared memory.
> I also know that Solaris solves this problem in OS level using mutexes
> and priority inheretance (pthread_mutexattr_setprotocol with
> THREAD_PRIO_PROTECT).
> 
> My question is: Does Digital Unix have a solution similar to Solaris,
> as described above ?

We don't currently implement priority inheritance. It's extraordinarily 
complicated to do it right, because threads may own multiple mutexes, and 
all the dependency graph needs to be dealt with when adjusting priorities. 
It's a "big deal", and we've had too little demand and too many other "big 
deals" that were easier.

If it's ever done, though, I can assure you it will never appear on 
"version 4.0" (or even 4.0G). It'll be something beyond 5.1A and might 
possibly show up later as a patch for 5.1 and 5.1A.

/------------------[ David.Butenhof@compaq.com ]------------------\
| Compaq Computer Corporation              POSIX Thread Architect |
|     My book: http://www.awl.com/cseng/titles/0-201-63392-2/     |
\-----[ http://home.earthlink.net/~anneart/family/dave.html ]-----/


      parent reply	other threads:[~2002-01-07 18:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-03 12:29 looking for priority inheretance for mutex in digital unix ver 4.0 Itamar Caspi
2002-01-03 18:36 ` Martin Heller
2002-01-07 18:24 ` David Butenhof [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox