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

Paolo Molaro lupus at ximian.com
Tue Apr 14 11:45:08 EDT 2009


On 04/11/09 Eyal Alaluf wrote:
> It would seem to me that if one invokes an object from another
> app-domain using the same OS thread, that the current thread should be
> switched as well. Otherwise, other problematic scenarios like using an
> incorrect culture info, incorrect IPrincipal, etc.

The culture info should already be handled correctly. IPrincipal may
need work. Note that having a single thread object or one per appdomain
doesn't solve anything per-se. In one case you have the current issue
of leaking objects between appdomains, in another you have the issue of
not trasnferring the info correctly across appdomain boundaries.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-devel-list mailing list