mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 10:08:47 +00:00
Set EVENT_NOEPOLL on Linux again.
This commit is contained in:
parent
aa4920fea3
commit
3ed5e56a39
@ -84,14 +84,7 @@ osdep_get_cwd(int fd)
|
|||||||
struct event_base *
|
struct event_base *
|
||||||
osdep_event_init(void)
|
osdep_event_init(void)
|
||||||
{
|
{
|
||||||
/*
|
/* On Linux, epoll doesn't work on /dev/null (yes, really). */
|
||||||
* On Linux, epoll doesn't work on /dev/null (yes, really).
|
setenv("EVENT_NOEPOLL", "1", 1);
|
||||||
*
|
|
||||||
* 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); */
|
|
||||||
return (event_init());
|
return (event_init());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user