dbus_g_proxy_call lets applikation crash

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Nov 15 04:09:38 PST 2012


On 15/11/12 11:11, Eckert Martin (DC-IA/EWT1) wrote:
>         //run _mainloop_in separate thread

You can't do this in an application that uses dbus-glib. dbus-glib is
not thread-safe.

If you want to use D-Bus in a GLib-based application that has multiple
threads, use GDBus (part of GIO since 2.28) instead.

    S


More information about the dbus mailing list