All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Glatz <andreasglatz@domain.hid>
To: stephane ancelot <sancelot@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] rt_pipe_open / rt_pipe_delete bug
Date: Thu, 3 Jun 2010 10:35:50 -0400	[thread overview]
Message-ID: <20100603143550.GD4438@domain.hid> (raw)
In-Reply-To: <op.vdpsychunuwxn3@domain.hid>

On Thu, Jun 03, 2010 at 04:09:38AM -0400, stephane ancelot wrote:
> Hi,
> 
> tryied in v2.4.10 :
> 
> 
> I have opened a /dev/rtp7 pipe , and deleted it.
> 
> if I launch again the same program, rt_pipe_open replies with -EBUSY ....
> 

Can you describe the sequence how you are invoking rt_pipe_open()/open()/rt_pipe_delete()?

If the following description applies to you then you discovered what we've discovered
before and there is no easy fix for that as far as I know.

1) create pipe with rt_pipe_open()
2) connect to it by opening /dev/rtp7 with open()
3) delete pipe with rt_pipe_delete() (for example by killing the Xenomai application)
4) create same pipe again with rt_pipe_open() (for example by restarting the
   Xenomai application with /dev/rtp7 is still open)

--> rt_pipe_open() reports an error

Andreas


  reply	other threads:[~2010-06-03 14:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03  8:09 [Xenomai-core] rt_pipe_open / rt_pipe_delete bug stephane ancelot
2010-06-03 14:35 ` Andreas Glatz [this message]
2010-06-14 14:52   ` stephane ancelot
2010-06-14 16:08     ` 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=20100603143550.GD4438@domain.hid \
    --to=andreasglatz@domain.hid \
    --cc=sancelot@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.