service: Implement ServicesAdded and ServicesRemoved signals
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 20 Feb 2012 09:43:43 +0000 (11:43 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 24 Feb 2012 22:29:48 +0000 (23:29 +0100)
commit1af75231e5cfaad061b9a2f58589b3fb6f37fd2e
tree8054178b6191c9046696292ecdd69f8a5a7c76f6
parent91721e7dd45811bd469055818237136816feab1c
service: Implement ServicesAdded and ServicesRemoved signals

When services are added or removed, collect them into separate
lists in order to send as many as possible in one go and with
then removed ones sent first. Add a wait of 100ms to collect
more services in one batch. When removing a service check
whether it was also on the added list; if so, remove it from
that list.
src/manager.c
src/service.c