All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Kent Borg <kentborg@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Shared Memory?
Date: Wed, 21 Dec 2005 00:48:17 +0100	[thread overview]
Message-ID: <43A89841.1070407@domain.hid> (raw)
In-Reply-To: <20051220183927.T16178@domain.hid>

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

Kent Borg wrote:
> Looking at the Xenomai documentation, I can't see how to do shared
> memory communication between a realtime and non-realtime userland
> task.  Do I just use regular Linux shared memory, but somehow lock it
> down?
> 

Use mixed RT/non-RT threads and you will have shared mem for free, use
processes and you only have to ask linux for some shared fragments. In
any case don't forget to mlockall() your RT-processes!

Jan


PS: You only need "special" Xenomai services for allocating mem when you
want to shared it between kernel and user land.

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

  reply	other threads:[~2005-12-20 23:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-20 23:39 [Xenomai-help] Shared Memory? Kent Borg
2005-12-20 23:48 ` Jan Kiszka [this message]
2005-12-20 23:52   ` Kent Borg

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=43A89841.1070407@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=kentborg@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.