* looking for priority inheretance for mutex in digital unix ver 4.0
@ 2002-01-03 12:29 Itamar Caspi
2002-01-03 18:36 ` Martin Heller
2002-01-07 18:24 ` David Butenhof
0 siblings, 2 replies; 3+ messages in thread
From: Itamar Caspi @ 2002-01-03 12:29 UTC (permalink / raw)
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 ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: looking for priority inheretance for mutex in digital unix ver 4.0
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
1 sibling, 0 replies; 3+ messages in thread
From: Martin Heller @ 2002-01-03 18:36 UTC (permalink / raw)
To: Itamar Caspi
Do you have the manual: "Guide do DECthreads"? It's available from the
compaq Tru64 website as PDF or on CD. Order number AA-Q2DPD-TK
Your questions are explained in Chapter 2.3 - Thread Objects and
Operations" and 3.5 - Scheduling Issues.
This manual is like many other DEC manuals a good read
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 ?
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: looking for priority inheretance for mutex in digital unix ver 4.0
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
1 sibling, 0 replies; 3+ messages in thread
From: David Butenhof @ 2002-01-07 18:24 UTC (permalink / raw)
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 ]-----/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-01-07 18:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox