From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: C Smith <csmithquestions@gmail.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] Unable to Read from Pipe
Date: Wed, 1 Jul 2015 19:54:46 +0200 [thread overview]
Message-ID: <20150701175446.GL13256@hermes.click-hack.org> (raw)
In-Reply-To: <CA+K1mPG9OKH9FReQoC8jLRAipJ3F=vSdRMmtrxFaZEJjyfHArg@mail.gmail.com>
On Wed, Jul 01, 2015 at 10:44:53AM -0700, C Smith wrote:
> I tried xenomai stable 2.6.4 on a 3.14.17 kernel today. I get the same
> result,
What about the other tests? Xenomai testing? and XDDP sockets?
> the rt task pipe read results in errno 11 -EWOULDBLOCK. Here is a clue:
> a blocking read in the periodic task works OK and reads the bytes from the
> pipe - but I can't allow my periodic thread to block.
>
> The nonblocking pipe API should work in xenomai 2.6.4, right? Perhaps there
> is something I'm doing wrong in my code or my compile?
> I have attached my test code for you to look at, in case I am doing
> something wrong.
There is no doubt that it should be working. But maybe it does not,
and understanding why would be a waste of time if it has been fixed
in Xenomai testing.
Please stay on the lit.
--
Gilles.
https://click-hack.org
next prev parent reply other threads:[~2015-07-01 17:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 23:57 [Xenomai] Unable to Read from Pipe C Smith
2015-06-30 0:19 ` Gilles Chanteperdrix
[not found] ` <CA+K1mPG9OKH9FReQoC8jLRAipJ3F=vSdRMmtrxFaZEJjyfHArg@mail.gmail.com>
2015-07-01 17:54 ` Gilles Chanteperdrix [this message]
2015-07-02 23:14 ` C Smith
2015-07-20 21:31 ` C Smith
2015-07-21 8:26 ` Philippe Gerum
2015-07-23 16:27 ` C Smith
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=20150701175446.GL13256@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=csmithquestions@gmail.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.