Sending new messages from a signal handler

Thiago Macieira thiago at kde.org
Thu Dec 4 12:54:53 PST 2008


Lucas C. Villa Real wrote:
>Does this logic we're attempting to use go against DBus concepts or
>current implementation? Is there any reason why it shouldn't work, or
>do you think that's more likely to be a bug in our code?

It's a limitation of the current libdbus-1: when signal handlers are 
called, the DBusConnection locks are still in place. So when you try to 
send a message from in there, you create a deadlock situation.

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


More information about the dbus mailing list