[Mono-dev] [PATCH] Less sharing between AppDomains

Mark Probst mark.probst at gmail.com
Fri Apr 10 12:46:46 EDT 2009


On Fri, Apr 10, 2009 at 6:14 PM, Eyal Alaluf <eyala at mainsoft.com> wrote:
> Isn't the thread instance specific to the app-domain?

No.

> Are there cases where one thread instance belongs to several different app-domains?

A thread instance only belongs to one app-domain, but another
app-domain can be active in that thread.  For example, in thread A,
belonging to app-domain X, a proxy for an object in app-domain Y might
be invoked, and that method might, while Y is active, cause a
NumberFormatter to be put into thread A's instance, which is a bug.

Mark


More information about the Mono-devel-list mailing list