On Mon Dec 4 12:11:27 2023 +0000, Rémi Bernon wrote:
Any reason not to use `dbus_connection_read_write_dispatch` here instead?
1. It doesn't work as it just hangs the thread, because I use the loop only to receive the messages, but I send the requests from the other threads. Tried this very approach at first only to see the thread hanging. 2. I need to only wait for a single request to be processed, or in this case to wait when the connection will be available for accepting requests, `dbus_connection_read_write_dispatch` waits for every pending request to be processed.