Hmmm... This is very interesting. 

Can somebody point me to the documentation for fifo handlers running within a 
Linux context? The man page only says:

"The handler is executed with the Linux (i.e., lowest) priority."


So what functions can I call from within a fifo handler? Is there docimenIn 
particular, am I allowed to use rtl_no_interrupts and rtl_printf? (The second 
seems to have
been at least partly responsible for my problems).

Thanks,

Pablo Alvarez

On Wednesday 25 September 2002 09:32, Stephen D. Cohen wrote:
> Mr. Alvarez,
>
> > I am having a weird problem with some form of memory
> > corruption in the
> > kernel, and it looks my use of RT-FIFOs is responsible. Does
> > anybody know
> > of a problem with sending small amounts of data back and
> > forth very quickly
> > between RTL and userspace through RT-fifos?
>
>       No, but I do know that you can not call most RTLinux functions from
> FIFO handlers.  The handlers are generally running in the Linux context and
> are, thus, limited to those functions which would be available to Linux.
> The usual way of avoiding this problem is to have a periodic RTLinux thread
> that watches for indicator variables set by the handlers.
>
> Regards,
>
> Steve
>
>

-- 
Pablo Alvarez, Ph.D.         
Neural Arts, Inc.                      
21 Bay State Rd.      
Boston MA 02215

Phone: (617) 867-0244
Fax:   (617) 867-0240
email: [EMAIL PROTECTED]
_______________________________________________
Rtl mailing list
[EMAIL PROTECTED]
http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl

Reply via email to