From: Andreas V. <li...@br...> - 2008-12-04 20:10:10
|
Am Tue, 2 Dec 2008 23:46:37 +0100 schrieb P. Durante: > libdbus (the reference implementation used by most bindings) doesn't > enforce any threading pattern, so neither should the bindings. if you > experienced problems they should be treated as bugs. > making the internal counter thread safe should just be a matter of > picking one of the many libraries implementing atomic primitives and > integrating it. > > > > > > 5) Is there a way to make asynchronous calls from the client-side > > (it appears the code generator only produces synchronous proxies). > > > 'not there yet' I've some support for async calls in the gitorious repo: http://gitorious.org/projects/dbus-cplusplus See here: http://dbus-cplusplus.wiki.sourceforge.net/Introspection+Format It's 'org.freedesktop.DBus.Method.NoReply'. Look in the history of this list for an example how to use it. But currently you've to define the up and down call yourself. > > 7) Since dbus-c++ is LGPL, how should changes to the source be fed > > back into the project? > > > I've always gladly accepted patches from anyone, some projects require > explicit copyright transfer to the owner for any modification to be > accepted, but that's really not the case here. The reason why it's not yet in the main branch is that Paolo hasn't that much time and me also. But now as I've a freedesktop account I plan to commit some of the non-conflicting changes to the main branch. Be welcome to test the async code and report problems. regards Andreas |