All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Sleep return value
@ 2006-09-06 13:41 Bernhard Walle
  2006-09-06 13:52 ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Bernhard Walle @ 2006-09-06 13:41 UTC (permalink / raw)
  To: xenomai

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-09-09 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06 13:41 [Xenomai-core] Sleep return value Bernhard Walle
2006-09-06 13:52 ` Jan Kiszka
2006-09-09  1:07   ` Bernhard Walle
2006-09-09 10:28     ` Jan Kiszka
2006-09-09 10:58       ` Bernhard Walle

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.