using the wakeup_main_function together with dispatch_status_function
Havoc Pennington
hp at pobox.com
Thu Sep 25 18:57:11 PDT 2008
Hi,
On Thu, Sep 25, 2008 at 6:14 PM, Marcin 'Qrczak' Kowalczyk
<qrczak at knm.org.pl> wrote:
>
> I don't understand the sense of
> dbus_connection_set_wakeup_main_function. It assumes too much about
> the implementation of the main loop, and for me it seems unnecessary
> at all.
This may be true, it was added so long ago I don't really remember.
Wakeup main may have been added before dispatch status, perhaps. In
any case, when hooking into the glib main loop, the wakeup main
function is convenient since it maps directly. (I think this would be
true of any poll-based loop.)
Havoc
More information about the dbus
mailing list