Hello,

I have an multi-threaded application that uses the APIs ReadFile() and WriteFile() to access the serial port. One thread reads periodically the serial port and the other writes upon an event.

What I have found is that when a ReadFile() operation is in progress, the WriteFile() operation waits until the first one completes!!! Even in separated threads...

Does anyone have any idea of how to solve this???

Thanks in advance,
Wagner