On Thu, Apr 17, 2008 at 6:07 PM, Philippe Gerum <[EMAIL PROTECTED]> wrote: > > Gilles Chanteperdrix wrote: > > Thinking more about it: there is a useful use, if the sleep duration > > is the result of rt_time_tsc2ns. Sleeping indefinitely would be a bit > > counter-intuitive. > > > > Aside of this, the API has to be orthogonal, and having rt_task_sleep behave > as > rt_task_suspend is also counter-intuitive. Think about applications doing > tick > arithmetics to determine the remaining sleep time; at some point, they might > hang unexpectedly with delay == 0 == TM_INFINITE.
We agree, this is what I was trying to say. -- Gilles _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
