Cristian Maglie f355dbf608 windows: correcly signal PortClosed error on blocked Read()
This commit fix regression test TestConcurrentReadAndWrite.

Even if the test checks purpose is another it has detected
anyway that the returned error is incorrect.

Another specific test for closing port detection will be added
in the future.
2021-06-29 15:23:40 +02:00
2019-12-02 19:51:36 +01:00
2021-02-26 12:24:20 +01:00
2021-02-26 12:24:20 +01:00
2019-12-02 19:27:10 +01:00
2020-04-20 00:12:16 +02:00
2021-02-26 12:26:27 +01:00

Build Status

go.bug.st/serial

A cross-platform serial library for go-lang.

Documentation and examples

See the godoc here: https://godoc.org/go.bug.st/serial

go.mod transition

This library now support go.mod with the import go.bug.st/serial.

If you came from the pre-go.mod era please update your import paths from go.bug.st/serial.v1 to go.bug.st/serial to receive new updates. Anyway, the latest v1 release should still be avaiable using the old import.

Credits

Thanks to all awesome contributors!

License

The software is release under a BSD 3-clause license

Description
No description provided
Readme BSD-3-Clause 371 KiB
Languages
Go 100%