the main loop
sfora dim
sfora.dim at gmail.com
Mon Sep 15 02:51:00 PDT 2008
Hi Thiago,
On Mon, Sep 15, 2008 at 9:26 AM, Thiago Macieira <thiago at kde.org> wrote:
>>Or is it the application's (which is using dbus) main loop ? the one
>>that periodically calls dbus_connection_read_write() to check if new
>>msgs have arrived ?
>
> Applications wouldn't call dbus_connection_read_write().
I'm writing a dbus service in C using libdbus. What dbus function
should I call periodically in my main loop ?
I thought I should call dbus_connection_read_write() because that's
what dbus-example.c
(http://dbus.freedesktop.org/doc/dbus/dbus-example.c) use in its main
loop (in the listen mode)...
Thank you,
Sfora.
More information about the dbus
mailing list