[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] FIFO writes & reads atomic?
Hello,
> I pass data and commands over an RT fifo from a Linux process.
> I do put the "bytes to follow" as the first 16 bits of each
> command but have never seen a short write. I do two reads for
> each packet, first, two bytes (the length) then the rest of the
> data. Maybe I am just dumb and lucky.
Does anyone see any problems, other than speed, to read 1 byte at a time
from an RT device? We're working on a telemetry system for the New Mexico
Tech solar racing team, and this seems to be a convenient way to gather
the data.
Thanks in advance,
Danny
--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/