DBus usage for applications and services communication through servicemanager
Thiago Macieira
thiago at kde.org
Fri Jun 16 06:21:35 UTC 2017
On Thursday, 15 June 2017 22:52:52 PDT Ravi Kumar Kandati wrote:
> SM(service manager) basically performs following activities
> after request received from apps. 1. Send the request to intended service.
> 2. Performs any pre-requisites required (i.e.
> stopping/pausing other functionalities. So SM will maintain the system
> state for pre-requisites processing) before processing the requests.
Sounds a bit like systemd.
Anyway, just because the D-Bus socket is serial does not mean you have to
write blocking code. You can use threads in your code to start, stop or pause
the functionalities, handle the pre-requisites, etc.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
More information about the dbus
mailing list