All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Threads Posix real time and not real time
@ 2007-05-10 11:45 Perrine Martignoni
  2007-05-10 12:25 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Perrine Martignoni @ 2007-05-10 11:45 UTC (permalink / raw)
  To: xenomai

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

Is it possible to do communicate a thread posix real time and a thread posix
non real time?
Can we create a thread posix non real time with some options?

[-- Attachment #2: Type: text/html, Size: 176 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] Threads Posix real time and not real time
  2007-05-10 11:45 [Xenomai-help] Threads Posix real time and not real time Perrine Martignoni
@ 2007-05-10 12:25 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2007-05-10 12:25 UTC (permalink / raw)
  To: Perrine Martignoni; +Cc: xenomai

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-10 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.