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

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

[Dotgnu-pnet-commits] CVS: pnet/engine process.c,1.54,1.55


From: Thong Nguyen <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine process.c,1.54,1.55
Date: Tue, 15 Jul 2003 20:45:09 -0400

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv8329

Modified Files:
        process.c 
Log Message:
Changed ILExecProcessDestroy so it doesn't destroy the main thread.




Index: process.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/process.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -r1.54 -r1.55
*** process.c   15 Jul 2003 22:17:33 -0000      1.54
--- process.c   16 Jul 2003 00:45:05 -0000      1.55
***************
*** 316,328 ****
        mainSupportThread = process->mainThread->supportThread;
  
-       /* Destory the engine thread for the main thread if it isn't needed 
anymore.
-           This isn't strictly necessary but may help remove stray pointers on 
the CVM stack */
-       /* If the main thread is the finalizer thread, then the engine thread 
will be automatically
-           destroyed when main thread is destroyed */
-       if (!mainIsFinalizer)
-       {
-               
ILThreadUnregisterForManagedExecution(process->mainThread->supportThread);
-       }
-       
        /* Invoke the finalizers -- hopefully finalizes all objects left in the 
process being destroyed */
        /* Any objects left lingering (because of a stray or fake pointer) are 
orphans */
--- 316,319 ----





reply via email to

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