Hi Siva,

It is possible to dynamically spawn threads with RTAI as it has a
dynamic memory manager to allocate the stack memory for the new threads.

With RTLinux all threads must be created in kernel mode, usually in the
init_module() function, as (I believe) that kmalloc is used to allocate
the stack memory for threads,

Best regards,

Steve

> "Kalyanaraman, Sivakumar (CTS)" wrote:
> 
> Hi all,
>          Is it possible to dynamically spawn threads from RTLinux/RTAI
> ? The documentation for pthread_create in RTlinux states that the
> function can be called only in kernel mode. Is there any other way ?
> 
> regards,
> siva
> 
> "Believe that life is worth living and your belief will help create
> the fact."
> 
>                                Name: InterScan_Disclaimer.txt
>    InterScan_Disclaimer.txt    Type: Plain Text (text/plain)
>                            Encoding: 7bit
-- [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/

Reply via email to