On Fri, 30.01.15 15:18, cee1 ([email protected]) wrote:

> Hi all,
> 
> I notice in sd_bus_track_new, a callback can be specified, but when it
> will be invoked?
> 
> It seems it will not be triggered when a name in track is removed.

But that's what it is supposed to be used for. You need to run an
event loop for this, and attach the bus object to it
though. i.e. either run an sd_event event loop and use
sd_bus_attach_event(), or use some other event loop and integrate
sd-bus into it.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to