Open honzakadlec opened 4 years ago
I'm hitting this too. I'm trying to read the tacho signal from a fan that can pulse up to 10k RPM so am watching the pin with high frequency. This may even be an issue for things like buttons that could "bounce" with a high frequency.
Hi @brian-armstrong
for quickly enough changes, I'm getting this error, I think it's comming from https://github.com/brian-armstrong/gpio/blob/72b0058bbbcb724245929a8778d844e5b4fc639f/watcher.go#L118
Cannot we add here check for syscall.EINTR and return there?
Thank you in advance
Jan