]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-event/sd-event.c
sd-event: expose the event loop iteration counter via sd_event_get_iteration() (...
authorLennart Poettering <lennart@poettering.net>
Thu, 30 Jun 2016 19:25:07 +0000 (12:25 -0700)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 30 Jun 2016 19:25:07 +0000 (21:25 +0200)
commit60a3b1e11ab0cef0f1e690a7c7117866113cf540
treedbbbaaee44d87bfc6e90fb675934181030d5931f
parent39231d7b62235592cafc6d86c6a1d49fc0219fe2
sd-event: expose the event loop iteration counter via sd_event_get_iteration() (#3631)

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