Author: atsushi
Date: 2007-11-20 04:02:15 -0500 (Tue, 20 Nov 2007)
New Revision: 89967

Modified:
   trunk/mcs/class/corlib/System.Threading/ChangeLog
   trunk/mcs/class/corlib/System.Threading/ReaderWriterLock.cs
Log:
2007-11-20  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * ReaderWriterLock.cs : ... and avoid extra finalizer call.



Modified: trunk/mcs/class/corlib/System.Threading/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Threading/ChangeLog   2007-11-20 07:45:38 UTC 
(rev 89966)
+++ trunk/mcs/class/corlib/System.Threading/ChangeLog   2007-11-20 09:02:15 UTC 
(rev 89967)
@@ -1,5 +1,9 @@
 2007-11-20  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
+       * ReaderWriterLock.cs : ... and avoid extra finalizer call.
+
+2007-11-20  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
        * ReaderWriterLock.cs : adding missing 2.0 destructor (does nothing).
 
 Thu Nov 8 18:36:25 CET 2007 Paolo Molaro <[EMAIL PROTECTED]>

Modified: trunk/mcs/class/corlib/System.Threading/ReaderWriterLock.cs
===================================================================
--- trunk/mcs/class/corlib/System.Threading/ReaderWriterLock.cs 2007-11-20 
07:45:38 UTC (rev 89966)
+++ trunk/mcs/class/corlib/System.Threading/ReaderWriterLock.cs 2007-11-20 
09:02:15 UTC (rev 89967)
@@ -60,6 +60,10 @@
                {
                        writer_queue = new LockQueue (this);
                        reader_locks = new Hashtable ();
+
+#if NET_2_0
+                       GC.SuppressFinalize (this);
+#endif
                }
 
 #if NET_2_0

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to