In the documentation of rtlv3.0 (test 9) I read:
pthread_make_periodic_np : ``[...]If the period is equal to 0, the
task will be released once at the start_time.[...]''
(This sounds like one shot timer programming?)
On the other hand, the code in schedulers/rtl_sched.c says:
int pthread_make_periodic_np (pthread_t p, hrtime_t start_time,
hrtime_t period)
{
rtl_irqstate_t interrupt_state;
if (period <= 0) {
return EINVAL;
}
[...]
which indicates that a period equal to 0 returns an error...
Is this an accidental inconsistency between code and documentation, or
a misinterpretation by me?
--
[EMAIL PROTECTED] (Ph.D.) Fax: +32-(0)16-32 29 87
Dept. Mechanical Eng., Div. PMA, Katholieke Universiteit Leuven, Belgium
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/