]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/mainloop.h
Simplify the mainloop
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 7 Oct 2009 14:06:09 +0000 (16:06 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 7 Oct 2009 14:06:09 +0000 (16:06 +0200)
commita9e61274bc2c316c4dbded00d9b75ff6419f42d6
tree350911bf6cc9fee17c0fe27b3fc9d3b063a0ed80
parentded1d23faabc31a5bbbf5f52c17423c59f63e23a
Simplify the mainloop

The number of fds passed to epoll is just a hint for the kernel.
In our case, we know this is often 2, let's remove this parameter
from lxc_mainloop_open and cleanup the code around the caller of
this function.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/mainloop.c
src/lxc/mainloop.h
src/lxc/start.c