From: Kent Borg <kentborg@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Shared Memory?
Date: Tue, 20 Dec 2005 18:52:10 -0500 [thread overview]
Message-ID: <20051220185210.U16178@domain.hid> (raw)
In-Reply-To: <43A89841.1070407@domain.hid>; from jan.kiszka@domain.hid on Wed, Dec 21, 2005 at 12:48:17AM +0100
On Wed, Dec 21, 2005 at 12:48:17AM +0100, Jan Kiszka wrote:
> 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!
So does that mean regular shmget() to set up the shared memory, and
mlockall() in the RT process? I was thinking mlock(), but you have a
point that mlockall() would be better!
I haven't done shared memroy before, but it looks pretty easy.
Thanks,
-kb
prev parent reply other threads:[~2005-12-20 23:52 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
2005-12-20 23:52 ` Kent Borg [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=20051220185210.U16178@domain.hid \
--to=kentborg@domain.hid \
--cc=jan.kiszka@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.