Re: libdbus _dbus_connection_block_pending_call blocks until timeout, even after reply is received

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <2944063.IBxeTIP5jV@tjmaciei-mobl1>
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) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.