All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Thomas.Debes@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Uniqueness of registry objects
Date: Thu, 20 Dec 2007 12:17:07 +0100	[thread overview]
Message-ID: <476A4F33.2050107@domain.hid> (raw)
In-Reply-To: <4B2EEE69E41E524EB7FCDC62A15D68D8018CFEBF@ARVMAIL1.mra.roland-man.biz>

Thomas.Debes@domain.hid wrote:
> Hi,
> 
> I am using the native skin together with mutexes and message queues. If
> I use the same name for both objects (mutex="test" , queuename="test") I
> can not register the second one because it fails with error -17 (file
> exists) in rt_queue_create. I assume that the registry service doesn't
> make a difference between the various RT object types. Can you confirm
> this behaviour?

Yes.

 If it is by design would it be better to differ between
> the various RT object types (mutex, queue, pipe etc.)?
>

This uniqueness was deliberately required so that we could implement
remote object registration in the future, for supporting distributed
systems. In such a case, it's better that peers do not have to know
about each other's exact nature. In this case, one would just want to
establish a link between peers based on a common protocol, regardless of
what actually implements each communication endpoint.

-- 
Philippe.



      reply	other threads:[~2007-12-20 11:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-10 14:19 [Xenomai-help] Uniqueness of registry objects Thomas.Debes
2007-12-20 11:17 ` Philippe Gerum [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=476A4F33.2050107@domain.hid \
    --to=rpm@xenomai.org \
    --cc=Thomas.Debes@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.