kidoman / embd

Embedded Programming Framework in Go
http://embd.kidoman.io
MIT License
1.28k stars 156 forks source link

Ignore EINTR signal #75

Open ranjib opened 7 years ago

ranjib commented 7 years ago

Today I hit a scenario where embd will panic if I strace -fp <PID> the OS process. This lead to interrupt handling, this is a known issue, and the workaround is pretty much taken from here: https://github.com/davecheney/gpio/issues/12