From: Andreas V. <li...@br...> - 2012-01-06 22:50:11
|
Am Wed, 21 Dec 2011 21:19:56 +0200 schrieb Or Goshen: > Hi > > Is it possible to enter the async code into the master branch ? > Right now an adapter can only handle one call at a time and is > blocking other impending calls. > For anything that takes more than a split second this is a real > problem which can end with the client(s) getting a timeout. You could use NoReply annotation for methods: <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/> This is as if you use async call. You just have no async return value. You've to send a signal back if you need it. I always do this and name the back-signal with suffix "Result". This should work. But yes, async code as in glib handling would be nice. Do you know if someone else is working on it? I ask only because you sau "enter master branch" as if it's implemented in another branch. regards Andreas -- Technical Blog <http://andreasvolz.wordpress.com/> |