Re: Running dbus_connection_read_write_dispatch in a separate thread
Thiago Macieira <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <2911379.y3L8UPXkjZ@tjmaciei-mobl1> |
On Tuesday, 16 June 2020 08:06:34 PDT Alexandru Sorodoc wrote: > All works fine, but when I want to shutdown the daemon I call > dbus_connection_close from the main thread but > dbus_connection_read_write_dispatch (running in the other thread) never > returns unless it receives a dbus message. > > Is this the expected behaviour? Yes, unfortunately.