]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-event: expose the event loop iteration counter via sd_event_get_iteration() 3631/head
authorLennart Poettering <lennart@poettering.net>
Thu, 30 Jun 2016 02:03:26 +0000 (19:03 -0700)
committerLennart Poettering <lennart@poettering.net>
Thu, 30 Jun 2016 14:53:08 +0000 (07:53 -0700)
commit7486322b99da5b4d2d00d35b310b035f936f7964
tree857841c54dc0b3b4df4b88d95e55ad2b0d456dc8
parent2e0d8df13b1c1deda7b5769accae9e6cd5bf5966
sd-event: expose the event loop iteration counter via sd_event_get_iteration()

This extends the existing event loop iteration counter to 64bit, and exposes it
via a new function sd_event_get_iteration(). This is helpful for cases like
issue #3612. After all, since we maintain the counter anyway, we might as well
expose it.

(This also fixes an unrelated issue in the man page for sd_event_wait() where
micro and milliseconds got mixed up)
Makefile-man.am
man/sd_event_wait.xml
src/libsystemd/libsystemd.sym
src/libsystemd/sd-event/sd-event.c
src/systemd/sd-event.h