I am writing a program that should
a) continuously read data from FTDI-port in the background and store
it into file.
b) receive some commands from stdin and do appropriate writes into FTDI-port
can a) and b) run in different threads or
I should place read and write into a cycle in one thread and
read(stdin) -- in another ?
and establish link beetween one to another by means of queue (fifo) ?
or maybe I should use some kind of non-blocking read ?
With best regards.
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx