From fd38203a2a7bfbdc6cb5fd4dc54378e70f7d6778 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 10 Oct 2013 04:40:28 +0200 Subject: bus: add minimal event loop API So far we tried to use epoll directly wherever we needed an event loop. However, that has various shortcomings, such as the inability to handle larger amounts of timers (since each timerfd costs one fd, which is a very limited resource, usually bounded to 1024), and inability to do priorisation between multiple queued events. Let's add a minimal event loop API around epoll that is suitable for implementation of our own daemons and maybe one day can become public API for those who desire it. This loop is part of libsystemd-bus, but may be used independently of it. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 786a0beb2d..2a2ed998b8 100644 --- a/.gitignore +++ b/.gitignore @@ -107,6 +107,7 @@ /test-device-nodes /test-engine /test-env-replace +/test-event /test-fileio /test-hashmap /test-hostname -- cgit v1.2.3-54-g00ecf