3 ms·
It's pretty hard to have asynchronous calls without an event loop ;) Using DBus synchronously is, strictly speaking, wrong unless you can PROVE that there can
by ahartmetz 9y ago
It's pretty hard to have asynchronous calls without an event loop ;)
Using DBus synchronously is, strictly speaking, wrong unless you can PROVE that there can be no deadlocks; talking to the DBus daemon itself synchronously is generally safe though. Unfortunately QtDBus encourages synchronous calls. Maybe you remember desktop hangs in early KDE 4 related to global shortcuts - that was me not knowing that rule at the time.