Re: DBus usage for applications and services communication through servicemanager

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <2219717.xDvgV2aRPM@tjmaciei-mobl1>
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

_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.