[Cialug] Slightly OT, .. C coding

L. V. Lammert lvl at omnitec.net
Mon Aug 22 15:12:40 CDT 2016


On Mon, 22 Aug 2016, Dave Weis wrote:

> Platform?
>
Probably Debian, ..

> I would generally enable buffering on the port and use either a timer or
> interrupt to put the data into a fifo. Possibly blocking I/O also. Need
> more and better description of what you're trying to accomplish.
>
The timer approach is what takes too long; need a way to stuff the data
into a pipe or message queue and have the recipient get it without delay.

Have not seen any structure to implement a multi-threaded fifo -
suggestions?

	TFTR!

	Lee


More information about the Cialug mailing list