Tracking DBusWatches

Thiago Macieira thiago at kde.org
Fri Feb 9 11:44:59 PST 2007


tsuraan wrote:
>Rather than looping on dbus_connection_read_write_dispatch with a
> timeout of -1, giving it a timeout of 100 will alleviate this, right?

It would be an ugly work around for a bug in your app at the expense of 
increased CPU usage (and diminished battery life in laptops).

-- 
  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/f1f79187/attachment.pgp


More information about the dbus mailing list