aboutsummaryrefslogtreecommitdiff
path: root/osdep-linux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-08-23 15:25:05 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-08-23 15:25:05 +0100
commit3ed5e56a3974016dad9c28f42356aba9c05e0f4c (patch)
tree317bfbe71d5b1828c6cbf13aa326bdb9f182ba2c /osdep-linux.c
parentaa4920fea3dcdcaa0dbe4d373160195b1a3ca892 (diff)
downloadrtmux-3ed5e56a3974016dad9c28f42356aba9c05e0f4c.tar.gz
rtmux-3ed5e56a3974016dad9c28f42356aba9c05e0f4c.tar.bz2
rtmux-3ed5e56a3974016dad9c28f42356aba9c05e0f4c.zip
Set EVENT_NOEPOLL on Linux again.
Diffstat (limited to 'osdep-linux.c')
-rw-r--r--osdep-linux.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/osdep-linux.c b/osdep-linux.c
index b65acffc..ccac2670 100644
--- a/osdep-linux.c
+++ b/osdep-linux.c
@@ -84,14 +84,7 @@ osdep_get_cwd(int fd)
struct event_base *
osdep_event_init(void)
{
- /*
- * On Linux, epoll doesn't work on /dev/null (yes, really).
- *
- * This has been commented because libevent versions up until the very
- * latest (1.4 git or 2.0.10) do not handle signals properly when using
- * poll or select, causing hangs.
- *
- */
- /* setenv("EVENT_NOEPOLL", "1", 1); */
+ /* On Linux, epoll doesn't work on /dev/null (yes, really). */
+ setenv("EVENT_NOEPOLL", "1", 1);
return (event_init());
}