[patch] Assorted changes to the mono bindings

Jon Trowbridge trow at ximian.com
Mon Aug 30 16:22:48 PDT 2004

On Mon, 2004-08-30 at 15:59 -0400, Havoc Pennington wrote:
> Won't this API preclude use of threads?

Well, it should work fine unless message dispatching starts to happen in
multiple threads.  But if that ever happens, it should be possible to
just put some thread-local data magic behind the API and maintain a
message stack for each thread.

So AFAICT this *implementation* precludes the use of threaded message
dispatch, but the API itself doesn't.  But maybe I'm missing something

> Is this something exposed to apps or is it "behind the scenes" in mono
> bindings, e.g. maybe proxies just have a destroy signal when their
> proxied object vanishes as in glib bindings.

It is exposed to apps, so apps have to do some work (though luckily not
very much work) to manage life-cycles properly.  There might be a nice
way to make it all work automagically, but that would probably be


More information about the dbus mailing list