[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] Q: Reusing task structure?



Dirk Bonek”mper (bonekam@uni-muenster.de) wrote:
> 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.
> 
...
> Bug or feature?

A bug. Fixed in the coming version.

Michael.
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/