All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Doug Brunner" <dbrunner@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Intermixing native and POSIX skins
Date: Mon, 12 Mar 2012 12:12:45 -0700 (PDT)	[thread overview]
Message-ID: <1331579565.394426122@domain.hid> (raw)

I'd like to be able to use native skin communications services (most importantly real time pipes) from a thread created with the POSIX skin. Is this safe?

I'm doing this because I'm building a C++ library that can use either real-time communications services, when used with a real-time application, or regular Linux pipe I/O, when used with a Linux application; these services are called by tasks that need to exist in both cases. I'd like to make the tasks always POSIX threads to eliminate the need for a bunch of wrappers and preprocessor ugliness that I put there to support either skin, depending on which version of the library is being built.

Thanks,
    Doug Brunner




             reply	other threads:[~2012-03-12 19:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 19:12 Doug Brunner [this message]
2012-03-12 19:43 ` [Xenomai-help] Intermixing native and POSIX skins Philippe Gerum
2012-03-15 16:30   ` Doug Brunner
2012-03-16 18:29     ` Philippe Gerum
2012-03-26 16:14       ` Doug Brunner
2012-03-27 16:26         ` Philippe Gerum
2012-03-27 21:35           ` Doug Brunner
2012-04-02 15:50             ` Philippe Gerum
2012-03-28  5:39 ` [Xenomai-core] [PATCH] Mask signals in rt_print:printer_loop() Paul Janzen
2012-03-28 13:35   ` Gilles Chanteperdrix

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=1331579565.394426122@domain.hid \
    --to=dbrunner@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.