|
-
September 3rd, 2004, 02:18 PM
#1
ReadFile() interferes in WriteFile()
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|