libdbus _dbus_connection_block_pending_call blocks until timeout, even after reply is received

Thiago Macieira thiago at
Fri Dec 15 16:28:22 UTC 2017

On Friday, 15 December 2017 02:38:51 PST Manish Narang wrote:
> We are facing a problem that we believe to be caused by libdbus in a
> multithreaded environment.

Suggestion: rip out the multithreaded access to libdbus. Move the entire 
access to any DBusConnection object to a separate, dedicated thread which is 
never blocked. All your other threads post events from that thread and receive 
events from it, as a form of communication.

Thiago Macieira - thiago (AT) - thiago (AT)
   Software Architect - Intel Open Source Technology Center

More information about the dbus mailing list