_dbus_connection_acquire_io_path lock

jaikumar Ganesh jaikumarg at gmail.com
Wed Nov 12 10:57:00 PST 2008

   I have an application with two threads (same process) communicating with

One thread blocks on the socket poll, and the other thread then needs to do
some work.
The connection object lock is released but the io_path lock is not released
and hence the second thread just hangs waiting to get the io_path lock.

Couple of questions:

a) What exactly does the io_path lock accomplish ? Can the code be safely
reentrant ?
b) I have seen mentions of DBusWatch and DBusTimeout to use in such cases.
    Any pointers to some code samples ?
c) Any other work arounds ?

Thanks and appreciate your help.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20081112/11c0cfea/attachment.html 

More information about the dbus mailing list