rtf_put() doesn't care what the content or format of the message is.  If
you're trying to send a multi-byte message, the only possible concern is
that you be sure that when you read it you get all of the data or are smart
enough to go back and read the rest.  But if you look at the source code,
you'll see that the writes to the fifo are atomic, that is, interrupts are
disabled while data is being moved into the fifo so there can never be any
"partial data" in the fifo for a user-space task to read UNLESS the fifo
gets full.  If you're sure that your user program can keep up with the data,
there's absolutely no worry at all.
        Norm

> -----Original Message-----
> From: Jochen [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, October 25, 1999 8:41 AM
> To:   Guenter Heinendirk; [EMAIL PROTECTED]
> Subject:      Re: [rtl] structs in rtf_put?
> 
> On Die, 26 Okt 1999 Guenter Heinendirk wrote:
> 
> >is it possible to sent structs consisting of floats with rtf_put?
> 
> What's about sending it byte by byte and composing it later on ? Since it
> stays on the same machine, the represenation doesn't change.
> 
> -- Jochen
>         Heinrich-Heine-Universität, Institut für Physikalische Chemie I
>         Universitätsstr. 1, Geb. 26.43.02.29, 40225 Düsseldorf, Germany
> phone 02118113681 fax 02118115195  --
> www-public.rz.uni-duesseldorf.de/~jochen
> [EMAIL PROTECTED] -- [EMAIL PROTECTED] --
> [EMAIL PROTECTED]
> --- [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/~rtlinux/
--- [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/~rtlinux/

Reply via email to