]> git.itanic.dy.fi Git - rrdd/commit
process: Implement event handling infrastructure
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Thu, 11 Oct 2012 18:30:20 +0000 (21:30 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Thu, 11 Oct 2012 18:30:20 +0000 (21:30 +0300)
commit383b7c14f291f7e169852a7c94c3f46286f56f94
tree3054bf7a114f69462ecbcac54c85418e7837d9f2
parent18ad55ee9c547a2ed8e0cfa08eb855d1d80def94
process: Implement event handling infrastructure

Implement proper event registration infrastucture for handling the
events coming in through the file descriptors. This makes it possible
to expand the polling code to arbitrary number of file descriptors.

All current users of the epoll have been converted to the new
infra. Some functions were moved higher in the file in order to make
it possible to reference them in the init_jobcontrol() function.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
process.c
process.h