Commit: db5e3a8a47be1412cd87c712789e88b3d9e21210
Parent: 09e56ac52aebf9d0e2f1307dfca8fb281509b6a9
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-12-05 13:55:20
Tree: 3d246810cd76456a5f410b19c7f445d0db916267

share/mainloop: Add handling of NOTIFY_SOCKET This adds handling of systemd NOTIFY_SOCKET so application using mainloop instance do properly notify systemd what is their state.

Diffstat

M Makefile.am | 8 ++++++- -
M src/shared/mainloop-glib.c | 6 ++++++
A src/shared/mainloop-notify.c | 93 ++++++++++++++++++++++++++++++++++++++++
A src/shared/mainloop-notify.h | 25 +++++++++++++++++++++++++
M src/shared/mainloop.c | 10 ++++++++++
M src/shared/mainloop.h | 1 +

6 files changed, 141 insertions(+), 2 deletions(-)

View Full Diff | Patch