Commit 6ff12eda authored by Anael Beutot's avatar Anael Beutot Committed by Antoine Millet
Browse files

Use signalfd in pyev loop

parent 72ad3d16
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -156,7 +156,8 @@ class MainLoop(object):
        # configure logging
        self.configure_logging()

        self.evloop = pyev.default_loop(debug=self.config.debug)
        self.evloop = pyev.default_loop(flags=pyev.EVFLAG_SIGNALFD,
                                        debug=self.config.debug)

        # keeps track of libev loop thread, create threading queue and an async
        # watcher for performing work in libev thread from external thread