Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bus: add minimal event loop API | Lennart Poettering | 2013-10-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Add __attribute__((const, pure, format)) in various places | Zbigniew Jędrzejewski-Szmek | 2013-05-03 | 1 | -3/+3 |
| | | | | | | | | I'm assuming that it's fine if a _const_ or _pure_ function calls assert. It is assumed that the assert won't trigger, and even if it does, it can only trigger on the first call with a given set of parameters, and we don't care if the compiler moves the order of calls. | ||||
* | bus: implement full method call timeout logic | Lennart Poettering | 2013-03-21 | 1 | -0/+1 |
| | |||||
* | shared: add simple priority queue implementation | Lennart Poettering | 2013-03-21 | 1 | -0/+39 |