mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-19 03:23:49 +01:00
fcntl(fd, F_SETOWN, getpid()); doesn't seem to work on Linux to get generate a signal when an event on the GPIO fd occurs. So fall back to the same method as on OS X and call poll() in a child process.