All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Perrine Martignoni <perrmart@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Threads Posix real time and not real time
Date: Thu, 10 May 2007 14:25:07 +0200	[thread overview]
Message-ID: <46430F23.9010501@domain.hid> (raw)
In-Reply-To: <7289437c0705100445j228b59c0h950f366dd2e12b18@domain.hid>

Perrine Martignoni wrote:
> Is it possible to do communicate a thread posix real time and a thread
> posix non real time?

No, the native skin has such a feature (message pipes), but this feature
has no incarnation in the posix skin.

The way to do this with the posix skin is to create a thread with
SCHED_OTHER policy and priority set to 0, and to have this thread
communicate with real real-time threads with a posix message queue and
do non real-time duties.


> Can we create a thread posix non real time with some options?

To create a non real-time thread, use __real_pthread_create instead of
pthread_create.

-- 
                                                 Gilles Chanteperdrix


      reply	other threads:[~2007-05-10 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10 11:45 [Xenomai-help] Threads Posix real time and not real time Perrine Martignoni
2007-05-10 12:25 ` Gilles Chanteperdrix [this message]

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=46430F23.9010501@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=perrmart@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.