Is it possible to use python to get True Full Duplex on a Serial port?

Terry Reedy tjreedy at udel.edu
Fri Aug 14 22:03:42 EDT 2009


greg wrote:

> You can't read and write with the same stdio file object
> at the same time. Odd things tend to happen if you try.

I believe the C standard specifies that the behavior of mixed reads and 
writes is undefined without intervening seek and/or flush, even if the 
seek is ignored (as it is on some Unix systems). With two threads, the 
timing is undetermined.




More information about the Python-list mailing list