daniel sheltraw wrote:
>
> Hello RTL/RTAIers
>
> I see in most of the example RTL code the following snippet in the
> actual task code:
>
> while(1){
> .
> .
> .
> rt_task_wait_period();
> }
>
> This snippet is started by first using rt_task_init and
> rt_task_make_periodic in the init_module. The executable is run by
> loading the module. My question is .... How does the above loop
> terminate.... By unloading the module?
>
> Daniel
Hi Daniel,
When you do an rmmod, the clean_up module code get's called. In there
you're supposed to kill all the tasks you created and clean up any other
resources you obtained.
Regards, Stuart
-- [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/