Hi,
I am writing a driver for a hardware that uses the serial port. I have 1 thread that write to the serial port using WriteFile() and one that reads from it using ReadFile().
Since they are using the same handle to the serial port, I am afraid, they might mess each other's data. Anybody knows if WriteFile and ReadFile have some kind of mutual exclusion or use different streams maybe. Thanks
Amish