[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] Is there a way to flush a FIFO ?



On Tue, Aug 08, 2000 at 10:04:20AM -0400, Stephen D. Cohen wrote:
> 
> 	Alternatively, a quick browse of rtl_fifo.c in the kernel source
> shows an rtf_flush function which takes the FIFO number as an argument and
> handles protecting from interrupts.  I would recommend using that function
> unless one of the FSM guys complains about non-published APIs, etc.

I complain about unpublished APIs all the time, but I hope we are getting
better. The reason it is unpublished is purely our fault.

> 
> Steve
> 
> P.S. For the FSM guys, why hasn't rtf_flush been published?  Too much coding
> to keep up with documentation or not-available on purpose?  How about
> rtf_isempty?  These look useful!

The biggest problem here is that the programmer assigned to put RTF within 
the mq API  (me) has been failing to deliver code on time.





> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/

-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
 www.fsmlabs.com  www.rtlinux.com