Using dbus_connection_send_with_reply() with and without dispatcher

Soh Kam Yung sohkamyung at gmail.com
Fri Mar 27 01:45:28 PDT 2009


On Thu, Mar 26, 2009 at 9:59 PM, Havoc Pennington
<havoc.pennington at gmail.com> wrote:
> [...]
> You basically have to require that the app connects dbus to the main
> loop (runs a dispatcher), or else require that it does not and do it
> yourself, or else have an API like set_dispatch_dbus(TRUE) in your
> library. Somehow somebody has to dispatch...
>
> The only other alternative might be to open your own private
> DBusConnection and set up dispatch on that. Which adds significant
> bloat if the app was going to dispatch anyway. But it's an option.
>
> Havoc
>

Thanks for the tips.  Looks like writing a C-API wrapper for libdbus
isn't as straightforward as I thought.

Regards,
Kam-Yung
-- 
Soh Kam Yung
my Google Reader Shared links:
(http://www.google.com/reader/shared/16851815156817689753)
my Google Reader Shared SFAS links:
(http://www.google.com/reader/shared/user/16851815156817689753/label/sfas)


More information about the dbus mailing list