[Mono-dev] [PATCH] appdomain-unload crashes
Rodrigo Kumpera
kumpera at gmail.com
Mon Nov 10 08:24:55 EST 2008
Yes, you're right, there is a race condition between pushing the the domain
ref, decrementing the counter
and checking if the domain needs to be unloaded.
On Sun, Nov 9, 2008 at 6:19 PM, Zoltan Varga <vargaz at gmail.com> wrote:
> Hi,
>
> Looks good. Isn't there a race between the check:
> + if (domain->state == MONO_APPDOMAIN_UNLOADED ||
> domain->state ==
> MONO_APPDOMAIN_UNLOADING) {
> and the
> + mono_thread_push_appdomain_ref (domain);
> call ?
>
> Zoltan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081110/74d69131/attachment.html
More information about the Mono-devel-list
mailing list