All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Rodrigo Rosenfeld Rosas <lbocseg@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Have condition variables Priority Inheritance Protection (PIP)?
Date: Fri, 28 Apr 2006 22:42:33 +0200	[thread overview]
Message-ID: <44527E39.7090501@domain.hid> (raw)
In-Reply-To: <200604281736.28169.lbocseg@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

Rodrigo Rosenfeld Rosas wrote:
> Hi,
> Having a look at cond.c in the native skin, I didn't understand why it is not 
> passed the PIP flag to xnsynch_init(). I mean, why the code is not 
> xnsynch_init(&cond->synch_base,XNSYNCH_PIP);
> 
> instead of
> 
> xnsynch_init(&cond->synch_base,XNSYNCH_PRIO);
> 
> ?
> 
> Could someone please point me the reason?
> 

Just as with semaphores: there is no ownership concept for condition
variables. Thus, who should be boosted to your priority in case you
decide to wait on such a resource?

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-04-28 20:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-28 20:36 [Xenomai-help] Have condition variables Priority Inheritance Protection (PIP)? Rodrigo Rosenfeld Rosas
2006-04-28 20:42 ` Jan Kiszka [this message]
2006-05-02 12:36   ` Rodrigo Rosenfeld Rosas
2006-05-03  7:57     ` Jan Kiszka
2006-05-03 16:15       ` Rodrigo Rosenfeld Rosas
2006-05-04  6:54         ` Jan Kiszka
2006-05-04 13:58           ` Rodrigo Rosenfeld Rosas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44527E39.7090501@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=lbocseg@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.