davecheney / gpio

GPIO for Go
BSD 2-Clause "Simplified" License
228 stars 52 forks source link

IRQ - Use a simple read instead of epoll #9

Open tylerstillwater opened 11 years ago

tylerstillwater commented 11 years ago

According to "Tv`" on #go-nuts, the IRQ stuff shouldn't use epoll:

Go subsumes that into the language itself.
Just read from a file descriptor and your goroutine will see data when data is available

We should experiment with this.