-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full duplex on Windows #150
Comments
I ran across the same situation, but was surprised when I measured it. This was with my own code which is similar to the code in this project but does not use a lock (it's single-threaded). Numbers for a UART device in hardware loopback (assign TXD = RXD):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In testing a project on a Windows machine I noticed that apparently concurrent read/write operations are not supported on Windows: while reading data, the writing thread seems to block.
I did come across this article describing the
FILE_FLAG_OVERLAPPED
flag to initiate overlapped operations. Not knowing much about the Windows Serial API I don't know whether this is still relevant.I do use
.setTimeout (0, 1, 0, 0, 0);
to reduce the time outs, however I also then start to lose data...The text was updated successfully, but these errors were encountered: