From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Jorge Ramirez Ortiz, HCL Europe" <Jorge.Ramirez-Ortiz@hcl.com>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] shared memory segments
Date: Mon, 09 Jul 2012 19:46:31 +0200 [thread overview]
Message-ID: <4FFB18F7.4070002@xenomai.org> (raw)
In-Reply-To: <4F534D1A615F544D95E57BFD8460658302ED62BD@GEO-HCLT-UKEVS1.GEO.CORP.HCL.IN>
On 07/09/2012 12:26 PM, Jorge Ramirez Ortiz, HCL Europe wrote:
> Hi all, I am doing a port of a shared library; in this library , a
> shared memory segment is being mapped (now using the Xenomai POSIX
> skin.) Some semaphores and data are placed on that shared segment.
>
> Is there a way to mark the shared memory segment for deletion
> (unlink) after the last process detaches it (basically what
> shmctl(shmid, IPC_RMID, &shmInfo) does) cheers Jorge
Just so we are clear: the only thing xenomai posix skin shared memory
are useful for is sharing memory between kernel-space and user-space.
So, if your intent is to simply share memory between two xenomai
user-space applications, you can use plain linux shared memory,
including system 5 shared memory if you prefer.
--
Gilles.
next prev parent reply other threads:[~2012-07-09 17:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-09 10:26 [Xenomai] shared memory segments Jorge Ramirez Ortiz, HCL Europe
2012-07-09 12:38 ` Gilles Chanteperdrix
2012-07-09 17:46 ` Gilles Chanteperdrix [this message]
2012-07-09 17:55 ` Jorge Ramirez Ortiz, HCL Europe
2012-07-09 18:02 ` Gilles Chanteperdrix
2012-07-09 18:19 ` Jorge Ramirez Ortiz, HCL Europe
2012-07-09 18:29 ` 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=4FFB18F7.4070002@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=Jorge.Ramirez-Ortiz@hcl.com \
--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.