source_io_register errors out with EEXIST, but that's supposed to be harmless for epoll [1]:
Q1: What happens if you add the same fd to an epoll_set twice? A1: You will probably get EEXIST. However, it is possible that two threads may add the same fd twice. This is a harmless condition. I assume we should ignore it in the event library? [1] http://linux.die.net/man/4/epoll -- David Strauss | da...@davidstrauss.net | +1 512 577 5827 [mobile] _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel