Hi,
   I'm having some thread scheduling problems with my rtlinux
application.
  My rt module reads data from a serial port whenever an interrupt occurs(every 4ms). 
Whenever I want serail data to be recorded I call a function that inserts my rt module 
into the kenel and creates a thread to read data from the FIFO. When ever I want to 
stop recording I call another function in the main program that removes my rt module 
from the kernel. Just before removing the module it cancels the thread previously 
created to read data from FIFO
        The problem that I'm having is that SOMETIMES the thread that I create to read 
data from the FIFO (when I insert the module) never gets scheduled.
   When this happens the whole system hangs and I need to do a hard reboot (all 
systems services are stopped, I cant even telnet to restart).

In my program I call the startRecord and stopRecord functions once every 3-4 seconds.

Can someone kindly suggest a solution..
Thanks
Madan.

PS:I'm using 2.2.14-rtl-2.2

    
  


See Dave Matthews Band live or win a signed guitar
http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp
 
-- [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/

Reply via email to