Folks,<br> I have an application with two threads (same process) communicating with dbus.<br><br>One thread blocks on the socket poll, and the other thread then needs to do some work.<br>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.<br>
<br>Couple of questions:<br><br>a) What exactly does the io_path lock accomplish ? Can the code be safely reentrant ?<br>b) I have seen mentions of DBusWatch and DBusTimeout to use in such cases.<br> Any pointers to some code samples ?<br>
c) Any other work arounds ?<br><br><br>Thanks and appreciate your help.<br><br>-Jaikumar<br>