All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Cochran <richardcochran@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Using plain old POSIX shm_open with real time threads
Date: Fri, 5 Aug 2011 17:58:22 +0200	[thread overview]
Message-ID: <20110805155822.GA15241@domain.hid> (raw)
In-Reply-To: <4E3BF8BF.6080609@domain.hid>

On Fri, Aug 05, 2011 at 04:05:51PM +0200, Gilles Chanteperdrix wrote:
> 
> Now the armv5 details: xenomai posix skin shared memories are uncached.
> plain linux shared memories are uncached when using fcse in guaranteed
> mode, and cached when using fcse in best effort mode or without fcse,
> but will trigger a cache flush when exiting the process where they are
> mapped. They are also uncached when mapped twice at two different
> addresses by the same process.

Thanks for the very thorough answer!

(Currently, I am working on a PowerPC project, happily ;)

> Shared memories are not really an IPC, since they do not take care of
> synchronization as other IPCs will do. However, for a fifo, this looks
> sufficient. A fifo without synchronization, however, will only take care
> of one producer and one consumer.

Yes, that is what I am doing.

Thanks,

Richard


  reply	other threads:[~2011-08-05 15:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-05 13:30 [Xenomai-help] Using plain old POSIX shm_open with real time threads Richard Cochran
2011-08-05 14:05 ` Gilles Chanteperdrix
2011-08-05 15:58   ` Richard Cochran [this message]
2011-08-05 15:39 ` Philippe Gerum

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=20110805155822.GA15241@domain.hid \
    --to=richardcochran@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.