I use edge_detect in a threaded C / python program. When edge_detect is used the shutdown fails because epoll_wait is not interrupted by pthread_cancel. Attached workaround to send the poll_thread a signal on shutdown.
better patch - without segfaults
Log in to post a comment.
better patch - without segfaults