From: Jan Kiszka <jan.kiszka@domain.hid>
To: rpm@xenomai.org
Cc: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] Re: xnpod_suspend_thread and past absolute timeouts
Date: Sat, 10 Feb 2007 01:07:22 +0100 [thread overview]
Message-ID: <45CD0CBA.9070004@domain.hid> (raw)
In-Reply-To: <1171064941.25642.50.camel@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 738 bytes --]
Philippe Gerum wrote:
> On Fri, 2007-02-09 at 22:44 +0100, Jan Kiszka wrote:
>> Hi Philippe,
>>
>> RTnet revealed a problem of rtdm_task_sleep_until in trunk. When being
>> called with a past date, it blocks forever because xnpod_suspend_thread
>> considers such timeouts as infinite:
>>
>> http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/nucleus/pod.c?v=SVN-trunk#1456
>>
>> Are there users relying on this property of xnpod_suspend_thread? If
>> yes, I would unfortunately have to catch this case in RTDM.
>>
>
> Here is the proposed change, absolutely untested; could you give this
> hell on your favourite RTNet torture? TIA,
No full test yet, but the scenario that failed before now works nicely.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
prev parent reply other threads:[~2007-02-10 0:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-09 21:44 [Xenomai-core] xnpod_suspend_thread and past absolute timeouts Jan Kiszka
2007-02-09 22:55 ` [Xenomai-core] " Philippe Gerum
2007-02-09 23:49 ` Philippe Gerum
2007-02-10 0:07 ` Jan Kiszka [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=45CD0CBA.9070004@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=rpm@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.