Skip to content

Transparently handle EINTR during Read #69

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

Merged
merged 1 commit into from
Dec 6, 2019

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Dec 3, 2019

This has been observed in particular on MacOS, in this case just retry the call without throwing the error back to the user.

Related to:
arduino/arduino-cli#504
arduino/arduino-pro-ide#157

@kittaakos

This has been observed in particular on MacOS, in this case just retry
the call without throwing the error back to the user.

Related to:
arduino/arduino-cli#504
arduino/arduino-pro-ide#157
cmaglie added a commit to cmaglie/arduino-cli that referenced this pull request Dec 3, 2019
Includes a fix to serial.Read method.

Should fix: arduino#504

Actual patch: bugst/go-serial#69
@cmaglie cmaglie merged commit 6a673bf into bugst:master Dec 6, 2019
@cmaglie cmaglie self-assigned this Dec 6, 2019
@cmaglie cmaglie deleted the handle-eintr branch December 6, 2019 09:53
cmaglie added a commit to arduino/arduino-cli that referenced this pull request Dec 6, 2019
… port open (#507)

* Update go-serial library to latest version

Includes a fix to serial.Read method.

Should fix: #504

Actual patch: bugst/go-serial#69

* Using versioned release of go.bug.st/serial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant