Dbus in Multi-threaded application

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Sun Aug 27 10:21:06 UTC 2017


On Sun, 27 Aug 2017 09:52:21 +0000, Abhi Arora wrote:

> For example, THREAD B calls a dbus method and it has set a timeout
> for it. I will then block on it. The THREAD A may dispatch a timeout
> event if timeout has occurred. I am not completely sure but I think
> there could be some race condition in this case. Please help me.

This is why people prefer coroutines rather than threads.


More information about the dbus mailing list