the main loop
Thiago Macieira
thiago at kde.org
Mon Sep 15 03:41:39 PDT 2008
On Monday 15 September 2008 11:51:00 sfora dim wrote:
> 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 ?
See the part of my email that you deleted:
>>Applications wouldn't call dbus_connection_read_write(). They'd use the
>>callbacks to handling socket and timer events, then the library calls
>>some registered callbacks.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080915/cbf3f7cc/attachment.pgp
More information about the dbus
mailing list