Hello,
I just recently started using rt-linux and I'm very impressed.
One problem I found: I tried to call the following sequence of commands
from within a fifo handler:
rt_task_delete(&tsk);
rt_task_init(&tsk, stepper, 0, 3000, 2);
,where tsk is defined as RT_TASK on the global level.
rt_task_init() returns -EINVAL.
A quick look in rtl_sched.c showed that task->magic is not reset when
calling rt_task_delete().
Before anybody points it out, the task is added to a zombie list. So it
might be illegal to reuse it immediately, since zombies are only freed
when linux is run. But the zombie handler, rtl_delete_zombies(),
doesn't reset task->magic as well.
Bug or feature?
BTW, I'm using 0.9J on a SuSE 2.0.36 kernel. No problems with patching ...
Thanks,
Dirk
// Dirk Bonekamper // tel: (+49) 251 83-34947 //
// IKP, Wilhelm Klemm Str. 9 // fax: (+49) 251 83-34962 //
// D-48149 Muenster // email: [EMAIL PROTECTED] //
--- [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/