I just ported an application to RTLinux.  One thread is created in the
init_module and that thread creates all of our other threads.  If you
can send me a simple example that crashes maybe I can help.

John Jacques
[EMAIL PROTECTED]

Chunky Kibbles wrote:
> 
> On Fri, Oct 12, 2001 at 04:17:39PM +0100, David Hamilton wrote:
> > Is it allowed to create a thread from within a thread in the real-time
> > kernel?
> > I can create two threads from the init_module function, but if I try to
> > create the second from within the first thread, my system crashes big
> > time!!!
> 
> Well, you could probably pull it off with some scary voodoo, but I
> wouldn't recommend it. Doing real-time htings, then copying a vast
> block of memory and invoking stuff in it, with all that entails?
> 
> You're better off creating a variety of thread pool in init_module as
> a one-off instead of trying to create threads by others that're doing
> RT things.
> 
> Gary (-;
> -- [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/
begin:vcard 
n:Jacques;John
tel;fax:972.671.5755
tel;work:214.570.5666
x-mozilla-html:TRUE
version:2.1
email;internet:[EMAIL PROTECTED]
title:Member Of Technical Staff
adr;quoted-printable:;;Suite 225=0D=0A2301 North Greenville Avenue;Richardson;TX;75082;USA
x-mozilla-cpt:;10216
fn:John Jacques
end:vcard

Reply via email to