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

timeout has a different behavior on windows. #13

Closed
jessebraham opened this issue Feb 7, 2022 · 1 comment
Closed

timeout has a different behavior on windows. #13

jessebraham opened this issue Feb 7, 2022 · 1 comment
Labels
migrated This issue was migrated from GitLab windows This issue is specific to Windows systems

Comments

@jessebraham
Copy link
Member

This issue was migrated from GitLab. The original issue can be found here:
https://gitlab.com/susurrus/serialport-rs/-/issues/90

On linux, read will wait for serial port data until data is read in or timeout.
But in windows, read will block until it times out. If there is data in this process, it will return after timeout.

Is this a mistake in my usage, or a bug?

@jessebraham jessebraham added the migrated This issue was migrated from GitLab label Feb 7, 2022
@jessebraham jessebraham added the windows This issue is specific to Windows systems label Mar 2, 2022
@sirhcel
Copy link
Contributor

sirhcel commented Jul 28, 2024

This sounds like the behavior we have finally fixed with #79.

@sirhcel sirhcel closed this as completed Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migrated This issue was migrated from GitLab windows This issue is specific to Windows systems
Projects
None yet
Development

No branches or pull requests

2 participants