From: Jan Kiszka <jan.kiszka@domain.hid>
To: NZG <metalninjadragon@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] writing from user space through fifo problems
Date: Thu, 21 Feb 2008 16:23:15 +0100 [thread overview]
Message-ID: <47BD9763.1040304@domain.hid> (raw)
In-Reply-To: <200802210944.56033.ngustavson@domain.hid>
NZG wrote:
>> Are you sure it is EINTR? A first glance at the possible code path,
>> specifically at xnpipe_recv, suggests that you cannot reach the line
>> returning this error code if TM_NONBLOCK was passed.
> Your right, my mistake sorry.
> It's returning EAGAIN , which is the same thing as EWOULDBLOCK in my kernel
> headers, which corresponds to the correct value when data i s not available,
> but doesn't explain why data is never received.
OK, that makes more sense.
>
>> What Xenomai version are we talking about BTW?
> 2.3.1 (blackfin 537 build)
>
>> And, as usual:
>> self-contained simple test cases are always appreciated. :)
> I'll try to put something together tonight.
That's good. This test will also allow you to check it against
- more recent Xenomai (please check the Changelog for pipe-related
changes since 2.3.1, I bet there are a few)
- some other arch, specifically x86 (IIRC, there is still some Linux
scheduling artifact left in the I-pipe patch for blackfin, but it
shouldn't make a difference here - well, who knows...)
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2008-02-21 15:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-21 4:58 [Xenomai-help] writing from user space through fifo problems NZG
2008-02-21 8:08 ` Jan Kiszka
2008-02-21 9:39 ` [Xenomai-help] Xenomai maximum latency ayoub zaki
2008-02-21 9:57 ` Gilles Chanteperdrix
2008-02-21 14:44 ` [Xenomai-help] writing from user space through fifo problems NZG
2008-02-21 15:23 ` Jan Kiszka [this message]
2008-02-22 2:45 ` NZG
2008-02-22 8:55 ` Philippe Gerum
2008-02-22 13:31 ` NZG
2008-02-22 9:00 ` Gilles Chanteperdrix
2008-02-22 9:19 ` Philippe Gerum
2008-02-22 9:25 ` Gilles Chanteperdrix
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=47BD9763.1040304@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=metalninjadragon@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.