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: pgpOsmQVzL5yQ.pgp
Description: PGP signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to