Skip to content

Commit

Permalink
disabled EVBACKEND_EPOLL as it seems to make linux unhappy -- this sh…
Browse files Browse the repository at this point in the history
…ould be selected at runtime through env variables or flags, but this works for now
  • Loading branch information
dgtized committed Oct 27, 2008
1 parent 4599253 commit 6767c76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vm/vm.cpp
Expand Up @@ -45,8 +45,9 @@ namespace rubinius {

/* @todo Using a single default loop, revisit when many loops.
* @todo This needs to be handled through the environment.
* (disabled epoll backend as it frequently caused hangs on epoll_wait)
*/
signal_events = new event::Loop(EVFLAG_FORKCHECK);
signal_events = new event::Loop(EVFLAG_FORKCHECK | EVBACKEND_SELECT | EVBACKEND_POLL);
events = signal_events;

signal_events->start(new event::Child::Event(this));
Expand Down

0 comments on commit 6767c76

Please sign in to comment.