thread safety: connections and mainloops
Havoc Pennington
hp at redhat.com
Thu Jul 28 03:47:29 EST 2005
On Wed, 2005-07-27 at 11:43 -0400, Colin Walters wrote:
>
> The implication here is that using dbus_g_proxy_begin_call (or
> dbus_connection_send_with_reply) from a thread is not supported and you
> have to do dbus_g_proxy_call (dbus_connection_send_with_reply_and_block)
> for every invocation, right? If we don't support thread mainloops I
> don't see how it could work, since callbacks would run from the main
> thread, no?
>
I think your NetworkManager point is a good one. It feels like we have
to support both approaches (blocking and per-thread-mainloop), no?
Havoc
More information about the dbus
mailing list