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 20:02:31 +0200 [thread overview]
Message-ID: <4FFB1CB7.7020209@xenomai.org> (raw)
In-Reply-To: <4F534D1A615F544D95E57BFD8460658301CBE39A@GEO-HCLT-UKEVS1.GEO.CORP.HCL.IN>
On 07/09/2012 07:55 PM, Jorge Ramirez Ortiz, HCL Europe wrote:
> hi Gilles Not sure I understand now. Let's say that I also need to
> place a mutex on that shared region to be shared between other
> Xenomai applications. The mutex would obviusly be wrapped by the
> posix skin but not the system5 shared request. Would that work??
> thanks for all the help
Yes, it should work. What is hard to get right however is synchronizing
the various processes accessing the shared region so that
pthread_mutex_init is called once and only once.
--
Gilles.
next prev parent reply other threads:[~2012-07-09 18:02 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
2012-07-09 17:55 ` Jorge Ramirez Ortiz, HCL Europe
2012-07-09 18:02 ` Gilles Chanteperdrix [this message]
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=4FFB1CB7.7020209@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.