Tracking DBusWatches
Thiago Macieira
thiago at kde.org
Fri Feb 9 14:27:30 PST 2007
tsuraan wrote:
>As a more concrete question, does dbus_connection_send_with_reply
> trigger the AddWatchFunction callback with a DBusWatch object that
> needs servicing in order for the dbus function call to be initiated, or
> does it work some other way?
More or less.
dbus_connection_send_with_reply will try to send immediately if it can. If
it can't -- because the socket can't send anything or if the transport is
locked -- it'll simply add the message to the outgoing queue and call for
watching.
--
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: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070209/d94b222f/attachment.pgp
More information about the dbus
mailing list