From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [patch 0/4] Support for select-like services.
Date: Sun, 10 Feb 2008 15:17:30 +0100 [thread overview]
Message-ID: <47AF077A.9070602@domain.hid> (raw)
In-Reply-To: <18350.7135.108901.491437@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]
Gilles Chanteperdrix wrote:
> Hi,
>
> here comes a third edition of the patchset adding support for select.
>
> The core support now depends on a CONFIG_XENO_OPT_SELECT option, whereas the
> posix support depends on a CONFIG_XENO_OPT_POSIX_SELECT option.
>
> The support for using rtdm_event_t and rtdm_sem_t objects is now built-in to
> these objects without creating new objects types (only if
> CONFIG_XENO_OPT_SELECT is enabled).
>
> The rtdm_context_get modification, allowing to check that the caller of a service
> belongs to the same process as the file descriptor it uses, is now made in
> __rtdm_context_get while rtdm_context_get passes a NULL first argument to this
> new service.
>
> When implementing these modifications, a few questions arise:
> - RTDM support currently depends on the CONFIG_XENO_OPT_SELECT option, should we
> add an RTDM specific option ?
IIRC, the policy is so far that the skin selects the nucleus features it
wants/needs, so we may better add the visible switch to RTDM as well.
> - in order to avoid numerous #ifdefs, and especially in drivers code, the new
> callback added to device operations for binding RTDM file descriptors to
> selector blocks is always there even if CONFIG_XENO_OPT_SELECT is disabled. Is
> it the right thing to do ?
That's ok, otherwise ifdef'ery would crawl into the drivers as well.
Given the conversion you posted for RTnet, we don't add noticeable bloat
this way.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next prev parent reply other threads:[~2008-02-10 14:17 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-09 21:32 [Xenomai-core] [patch 0/4] Support for select-like services Gilles Chanteperdrix
2008-02-09 21:33 ` [Xenomai-core] [patch 1/4] nucleus core support " Gilles Chanteperdrix
2008-02-09 21:35 ` [Xenomai-core] [patch 2/4] RTDM support for select-like service Gilles Chanteperdrix
2008-02-10 14:08 ` Jan Kiszka
2008-02-10 14:37 ` Gilles Chanteperdrix
2008-02-10 14:39 ` Gilles Chanteperdrix
2008-02-10 14:48 ` Jan Kiszka
2008-02-10 14:59 ` Gilles Chanteperdrix
2008-02-10 15:37 ` Gilles Chanteperdrix
2008-02-10 21:48 ` Gilles Chanteperdrix
2008-02-10 22:18 ` Jan Kiszka
2008-02-10 22:28 ` Gilles Chanteperdrix
2008-02-10 22:48 ` Jan Kiszka
2008-02-10 22:56 ` Gilles Chanteperdrix
2008-02-11 21:24 ` Gilles Chanteperdrix
2008-02-11 22:10 ` Jan Kiszka
2008-02-11 22:14 ` Gilles Chanteperdrix
2008-02-11 22:18 ` Jan Kiszka
2008-02-11 22:30 ` Gilles Chanteperdrix
2008-02-12 7:36 ` Jan Kiszka
2008-02-12 10:33 ` Jan Kiszka
2008-02-12 13:27 ` Gilles Chanteperdrix
2008-02-09 21:36 ` [Xenomai-core] [patch 3/4] posix skin kernel-space support for select Gilles Chanteperdrix
2008-02-09 21:37 ` [Xenomai-core] [patch 4/4] posix skin user-space " Gilles Chanteperdrix
2008-02-10 14:17 ` Jan Kiszka [this message]
2008-02-11 7:28 ` [Xenomai-core] [patch 0/4] Support for select-like services Johan Borkhuis
2008-02-11 8:34 ` Gilles Chanteperdrix
2008-02-14 15:33 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2008-01-25 22:13 [Xenomai-core] [PATCH " Gilles Chanteperdrix
2008-01-25 22:21 ` 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=47AF077A.9070602@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--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.