bugst / go-serial

A cross-platform serial library for go-lang.
BSD 3-Clause "New" or "Revised" License
620 stars 189 forks source link

Transparently handle EINTR during Read #69

Closed cmaglie closed 4 years ago

cmaglie commented 4 years ago

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: https://github.com/arduino/arduino-cli/issues/504 https://github.com/arduino/arduino-pro-ide/issues/157

@kittaakos