From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] xnpipe: what's up with xnpipe_setup?
Date: Tue, 14 Oct 2008 17:01:39 +0200 [thread overview]
Message-ID: <48F4B453.9050700@domain.hid> (raw)
In-Reply-To: <48F3B4D7.7070109@domain.hid>
Jan Kiszka wrote:
> Hi,
>
> xnpipe_setup and the callbacks it sets is dead code for in-tree Xenomai
> users. Going back to, well, fusion-0.6.9 (the oldest version we have in
> LXR), it used to be dead meat already at that time. Can we remove it?
>
We can and should emulate the close handler using the input one, so we may get
rid of the former.
We need some way to fire a callback in a skin implementation when userland
connects, this is what the open handler was for; this may be required for
implementing more complex data channels over the generic message pipe code. Ok,
we could also divert the input handler for that purpose as well, and it makes
little sense to keep a full interface just for that case.
Go ahead, remove that code, but if a skin developer ever comes and complains
about the terminal ugliness of our input handler looking like a kitchen sink in
a near future, I will ruthlessly direct him to YOU. Ah! Fair enough?
> Jan
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
--
Philippe.
next prev parent reply other threads:[~2008-10-14 15:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 20:51 [Xenomai-core] xnpipe: what's up with xnpipe_setup? Jan Kiszka
2008-10-13 21:11 ` Jan Kiszka
2008-10-13 21:16 ` Jan Kiszka
2008-10-14 15:01 ` Philippe Gerum [this message]
2008-10-14 19:23 ` Jan Kiszka
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=48F4B453.9050700@domain.hid \
--to=rpm@xenomai.org \
--cc=jan.kiszka@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.