On Thu, Oct 3, 2013 at 3:06 PM, Lennart Poettering <lenn...@poettering.net> wrote: > On Thu, 03.10.13 06:05, Mantas Mikulėnas (graw...@gmail.com) wrote: >> This is already handled by the PropertiesChanged signal in the >> standard org.freedesktop.DBus.Properties interface. (Although systemd >> only sends invalidated_properties and the new values have to be >> retrieved manually, so that's not really perfect yet.) > > The latter is going to change soonishly btw. I am currently working on > adding automatic property handling support to libsystemd-bus. With that > in place we'll like start sending the actual property contents around > too, and not just invalidate things. > > Client libraries hence need to handle PropertiesChanged signals in full, > i.e. handle both invalidating messages and the others for the same > properties even if for now only invalidating messages are sent.
They do, but the state might have changed again between receiving PropertiesChanged and retrieving the new value. -- Mantas Mikulėnas <graw...@gmail.com> _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel