From: Bernhard Walle <bernhard.walle@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-core] Sleep return value
Date: Wed, 6 Sep 2006 15:41:39 +0200 [thread overview]
Message-ID: <20060906134139.GA5852@domain.hid> (raw)
[-- Attachment #1: Type: text/plain, Size: 535 bytes --]
Hello,
,----
| int rtdm_task_sleep (uint64_t delay);
| int rtdm_task_sleep_until (uint64_t wakeup_time);
`----
wouldn't it make sense to return 0 on success and in error case the
number of nanoseconds that are remaining to the originally requested
sleep period just as the Linux sleeping function behave?
Of course that would introduce an incompatibility to current code.
Regards,
Bernhard
--
Ich denke, es gibt weltweit einen Markt für vielleicht fünf Computer.
-- Thomas Watson, Vorsitzender von IBM (1943)
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
next reply other threads:[~2006-09-06 13:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 13:41 Bernhard Walle [this message]
2006-09-06 13:52 ` [Xenomai-core] Sleep return value Jan Kiszka
2006-09-09 1:07 ` Bernhard Walle
2006-09-09 10:28 ` Jan Kiszka
2006-09-09 10:58 ` Bernhard Walle
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=20060906134139.GA5852@domain.hid \
--to=bernhard.walle@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.