Tracking DBusWatches

Thiago Macieira thiago at kde.org
Wed Feb 7 23:16:38 PST 2007


Havoc Pennington wrote:
>libdbus is fairly thread-safe but does have some quirks that need
>fixing, for example you can have issues if you
>dbus_connection_send()/dbus_connection_flush() in the main thread and do
>a blocking read_write() in another thread. (See a recent discussion on
>this list.) This is a bug in libdbus but perhaps hard to fix.

I don't think this should be considered a bug in libdbus, but in the 
application.

If you're blocking on one thread, you can't use a blocking function on 
another.

-- 
  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/20070208/31f92f81/attachment.pgp


More information about the dbus mailing list