diff options
| author | Andrew Tridgell <tridge@samba.org> | 2007-05-05 17:17:25 +1000 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 2007-05-05 17:17:25 +1000 |
| commit | 3bfeb3d2352f6dce951309315c11f5341e4a2b67 (patch) | |
| tree | 9bf69417f4359895e1f9be7c21221e8d654ef336 /ctdb/lib/replace/system | |
| parent | d903e9542d6e04f757d523774098807259e83561 (diff) | |
- added a EVENT_FD_AUTOCLOSE flag that allows you to tell the event system to close the fd automatically when a fd_event is freed. This prevents races which can lead to epoll missing events
- added autoconf rules for automatically building with epoll support
(This used to be ctdb commit 4d113298b26f7163992f2e47429c953bd4f957c9)
Diffstat (limited to 'ctdb/lib/replace/system')
| -rw-r--r-- | ctdb/lib/replace/system/select.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/lib/replace/system/select.h b/ctdb/lib/replace/system/select.h index 20346259c2..465e005349 100644 --- a/ctdb/lib/replace/system/select.h +++ b/ctdb/lib/replace/system/select.h @@ -26,6 +26,10 @@ #include <sys/select.h> #endif +#ifdef HAVE_SYS_EPOLL_H +#include <sys/epoll.h> +#endif + #ifndef SELECT_CAST #define SELECT_CAST #endif |
