rtlabs-com / c-open

CANopen stack for embedded devices
http://www.rt-labs.com
Other
79 stars 40 forks source link

osal/linux: Handle interrupted epoll_wait() #14

Closed nattgris closed 4 years ago

nattgris commented 4 years ago

The syscall may be interrupted by a signal handler and return prematurely. Simply retry when that happens.

This fixes the rx thread exiting after a debugger halt.

hefloryd commented 4 years ago

Merged, thanks