dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnet ChangeLog engine/process.c


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog engine/process.c
Date: Sat, 04 Nov 2006 10:53:18 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      06/11/04 10:53:18

Modified files:
        .              : ChangeLog 
        engine         : process.c 

Log message:
        2006-11-04  Kirill Kononenko  <address@hidden>
        
                * engine/process.c: Don't destroy the current thread before 
invoking the
                finalizers if the jit is used because the thread might be 
needed to
                process async. delegates invoked during the finalization 
process.
                (Patch #5352, Klaus)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3385&r2=1.3386
http://cvs.savannah.gnu.org/viewcvs/pnet/engine/process.c?cvsroot=dotgnu-pnet&r1=1.69&r2=1.70

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3385
retrieving revision 1.3386
diff -u -b -r1.3385 -r1.3386
--- ChangeLog   3 Nov 2006 20:09:43 -0000       1.3385
+++ ChangeLog   4 Nov 2006 10:53:18 -0000       1.3386
@@ -1,3 +1,10 @@
+2006-11-04  Kirill Kononenko  <address@hidden>
+
+       * engine/process.c: Don't destroy the current thread before invoking the
+       finalizers if the jit is used because the thread might be needed to
+       process async. delegates invoked during the finalization process.
+       (Patch #5352, Klaus)
+
 2006-11-03  Roman I Khimov  <address@hidden>
 
        * engine/lib_info.c: Fix build with profiles that don't support 
networking.

Index: engine/process.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/process.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -b -r1.69 -r1.70
--- engine/process.c    22 Dec 2005 18:23:44 -0000      1.69
+++ engine/process.c    4 Nov 2006 10:53:18 -0000       1.70
@@ -384,6 +384,7 @@
                ILThreadJoin(target, -1);
        }
        
+#ifndef IL_USE_JIT
        /* Unregister (and destroy) the current thread if it isn't needed
        for finalization and if it belongs to this domain. */
        if (!mainIsFinalizer 
@@ -393,6 +394,7 @@
        {
                ILThreadUnregisterForManagedExecution(ILThreadSelf());
        }
+#endif
 
        /* Invoke the finalizers -- hopefully finalizes all objects left in the
           process being destroyed.  Objects left lingering are orphans */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]