Re: Proxy Objects & Interfaces In DBussy

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Geek Central
Message-ID <[email protected]>
On Sun, 14 Jan 2018 13:06:12 +0100, rony wrote:

> the point that everyone makes is that you need to use the same thread
> for sending and receiving messages that created the DBus connection.
> Therefore you need to make sure that the dispatching is done in the
> same thread that established the DBus connection.

Yet I have a test example that uses the async call I added (do the open
connection on a separate temporary thread, then do all the message
sending/receiving back on the main thread) and it seems to work.

What pitfalls should I watch out for?
_______________________________________________
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.