On Fri, 28 Sep 2001, Stephen D. Cohen wrote: > Gang, > > > > -----Original Message----- > > > From: Robert Kavaler [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, September 26, 2001 1:42 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [rtl] RTF > > > > > > Other context deleted... > > > > > > Also, on the writing side, writes will either write all their data > > > into a fifo or none of their data. So in your example, if the fifo > > > has 4 bytes left and you attempt to write "realtime", the > > > write will fail. > > > > This is definitely not true in 3.1. I am also fairly > > confident that > > this has never been true in RTLinux. The current code writes > > as much data > > as possible if it can not write everything. > > Upon further browsing of the source, it is now obvious to me that I > missed the obvious and that Mr. Kavaler was correct with regards to the > rtf_put failing if insufficient space exists in the FIFO. That is both the > documented and actual behavior. I sincerely hope I have not caused anyone > any difficulty with my misinformation.
Hey, it's ok. It's good that the truth came to light eventually :). Also, now in retrospect it seems that's what you want a FIFO to do anyway -- either accept all or none. Accepting only parts of your data isn't good for generic applications (but may be an optimization for some specific ones). :) > > Regards, > > Steve Cohen > > -------------------------- > Stephen D. Cohen > Xybion Sensor Positioning Systems > 11528 53rd Street North > Clearwater, FL 33760 > Voice: (727) 299-0150 > Fax: (727) 299-0804 > [EMAIL PROTECTED] > www.xybion.com > > > -- [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/ > -- [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/
