Author: alp
Date: 2007-04-03 04:26:53 -0400 (Tue, 03 Apr 2007)
New Revision: 75326

Modified:
   trunk/mcs/class/corlib/System.Threading/ChangeLog
   trunk/mcs/class/corlib/System.Threading/Monitor.cs
Log:
2007-04-03  Alp Toker  <[EMAIL PROTECTED]>

        * Monitor.cs: Class is static in 2.0.



Modified: trunk/mcs/class/corlib/System.Threading/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Threading/ChangeLog   2007-04-03 07:41:06 UTC 
(rev 75325)
+++ trunk/mcs/class/corlib/System.Threading/ChangeLog   2007-04-03 08:26:53 UTC 
(rev 75326)
@@ -1,3 +1,7 @@
+2007-04-03  Alp Toker  <[EMAIL PROTECTED]>
+
+       * Monitor.cs: Class is static in 2.0.
+
 2007-03-27  Dick Porter  <[EMAIL PROTECTED]>
 
        * Mutex.cs: Throw ApplicationException if ReleaseMutex() fails.

Modified: trunk/mcs/class/corlib/System.Threading/Monitor.cs
===================================================================
--- trunk/mcs/class/corlib/System.Threading/Monitor.cs  2007-04-03 07:41:06 UTC 
(rev 75325)
+++ trunk/mcs/class/corlib/System.Threading/Monitor.cs  2007-04-03 08:26:53 UTC 
(rev 75326)
@@ -39,9 +39,14 @@
 
 namespace System.Threading
 {
+#if NET_2_0
+       public static class Monitor
+       {
+#else
        public sealed class Monitor
        {
                private Monitor () {}
+#endif
 
                // Grabs the mutex on object 'obj', with a maximum
                // wait time 'ms' but doesn't block - if it can't get

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

Reply via email to