All of lore.kernel.org
 help / color / mirror / Atom feed
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:29:52 +0200	[thread overview]
Message-ID: <4FFB2320.2050506@xenomai.org> (raw)
In-Reply-To: <4F534D1A615F544D95E57BFD8460658301CBE39C@GEO-HCLT-UKEVS1.GEO.CORP.HCL.IN>

On 07/09/2012 08:19 PM, Jorge Ramirez Ortiz, HCL Europe wrote:
> I can create an extra shared region in the library of sizeof(int)
> opened with exclusive access to behave as a lock to the mutex
> initialization I suppose. ah another question, will I have to
> mlock_all the library?

You have to mlockall the process memory before calling xenomai services,
yes.

-- 
                                                                Gilles.


      reply	other threads:[~2012-07-09 18:29 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
2012-07-09 18:19       ` Jorge Ramirez Ortiz,  HCL Europe
2012-07-09 18:29         ` Gilles Chanteperdrix [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=4FFB2320.2050506@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.