[Mono-dev] [PATCH] appdomain-unload crashes
gonzalo at novell.com
Fri Nov 7 11:46:05 EST 2008
On Fri, 2008-11-07 at 13:32 -0200, Rodrigo Kumpera wrote:
> Hey guys,
> The attached patch fixes the appdomain unloading problem. I can no
> longer get the
> test to crash here.
I see 2 problems. One which you already pointed out about not executing
the last element. I'm not sure that we should even try to execute it, as
MS documentation says that no new threads are allowed to use the domain
that is unloading and, I guess, we can add that not thread in the
threadpool should switch to use the dying domain.
The other one is that we should block / ignore any new threadpool item
from the domain being unloaded. The attached test, exits quickly on MS
and keeps running forever with Mono.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1119 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081107/ecda4c60/attachment.bin
More information about the Mono-devel-list