Skip to content
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

Implement waitReadable and waitByteTime on Windows #269

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mrchipset
Copy link

In order to implement timeout function of waitReadable, MS Asynchronized I/O feature is introduced with FILE_FALG_OVERLAPPED flag of CreateFileW method.

Both read and write method have been refactored to support asynchronized I/O.

I have briefly tested it with test_serial subproject. It seems work fine. Looking forward to more testing.

X.F.Zhou and others added 3 commits July 18, 2022 21:53
Add a  FILE_FLAG_OVERLAPPED flag when open the port
Revise the Read and Write method to support Asynchronous I/O
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant