Re: DBUS - how to handle muliple bus-message in parallel
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Mon, 20 Aug 2018 20:10:49 +0900, dtdang wrote: > Currently, I am trying to create a server API to > handle multiple dbus-message in parallel. When you receive a message, it is up to you to construct and return the reply at some point with dbus_message_new/dbus_message_new_method_return. To avoid holding up the dispatching of subsequent messages in the meantime, you need to do your actual message processing on a separate thread. However, for the sake of your own sanity (and that of libdbus as well), it is probably best to ensure that all libdbus calls happen on a single thread. _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus