3 ms·
Cancelable Reads in Go
- lsllc 7y agoTrying to cancel a Read() is particularly troublesome with many USB serial devices, I suspect because of poor driver implementations. In these cases, Close()'ing the device with a Read() pending just hangs.
3 ms·