From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [patch] RTDM abstraction for priority direction
Date: Tue, 25 Oct 2005 09:07:05 +0200 [thread overview]
Message-ID: <435DD999.9090408@domain.hid> (raw)
In-Reply-To: <435D4FEE.10301@domain.hid>
Jan Kiszka wrote:
> Hi,
>
> it turned out that it is useful to abstract the priority
> increment/decrement by one level at the RTDM layer - for systems that
> use a different scheme compared to POSIX or Xenomai (so far only classic
> RTAI). Please apply.
Applied, thanks.
>
> Jan
>
>
> ------------------------------------------------------------------------
>
> Index: skins/rtdm/rtdm_driver.h
> ===================================================================
> --- skins/rtdm/rtdm_driver.h (Revision 72)
> +++ skins/rtdm/rtdm_driver.h (Arbeitskopie)
> @@ -831,8 +831,16 @@
> #define RTDM_TASK_HIGHEST_PRIORITY XNCORE_HIGH_PRIO
> /** @} */
>
> +/*!
> + * @anchor changetaskprio @name Task Priority Modification
> + * Raise or lower task priorities by one level
> + * @{ */
> +#define RTDM_TASK_RAISE_PRIORITY (+1)
> +#define RTDM_TASK_LOWER_PRIORITY (-1)
> /** @} */
>
> +/** @} */
> +
> static inline int rtdm_task_init(rtdm_task_t *task, const char *name,
> rtdm_task_proc_t task_proc, void *arg,
> int priority, __u64 period)
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
--
Philippe.
prev parent reply other threads:[~2005-10-25 7:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-24 21:19 [Xenomai-core] [patch] RTDM abstraction for priority direction Jan Kiszka
2005-10-25 7:07 ` Philippe Gerum [this message]
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=435DD999.9090408@domain.hid \
--to=rpm@xenomai.org \
--cc=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.