[Mono-dev] [PATCH] appdomain-unload crashes

Rodrigo Kumpera kumpera at gmail.com
Fri Nov 7 10:32:22 EST 2008

Hey guys,

The attached patch fixes the appdomain unloading problem. I can no longer
get the
test to crash here.

The patch tries to solve two issues:

1) Remove all pending jobs from the TP queue that belongs to the app domain
been shutdown.

2) Coordinate the shutdown of the app domain with TP threads. This must be
done because there
is a time window between the time the thread is spawn and

The patch must be extended to handle async io threads as well, but it's
pretty much the
same fix, so if this one is ok, the other one should be as well.

Please review
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081107/90eea973/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: take1.diff
Type: text/x-patch
Size: 5574 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081107/90eea973/attachment-0001.bin 

More information about the Mono-devel-list mailing list