* Thread.cs: changed return type of VolatileRead to UIntPtr
authorGert Driesen <drieseng@users.sourceforge.net>
Tue, 15 Jun 2004 17:55:07 +0000 (17:55 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Tue, 15 Jun 2004 17:55:07 +0000 (17:55 -0000)
* ThreadPool.cs: set return type of SetMinThreads to bool

svn path=/trunk/mcs/; revision=29622

mcs/class/corlib/System.Threading/ChangeLog
mcs/class/corlib/System.Threading/Thread.cs
mcs/class/corlib/System.Threading/ThreadPool.cs

index 4db4b929caab3395ee9d79c0ef8333f063fc283d..5dc3e0edb2edd75fd3aed1175853f6b3717c7c00 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * Thread.cs: changed return type of VolatileRead to UIntPtr
+       * ThreadPool.cs: set return type of SetMinThreads to bool
+
 2004-06-15  Lluis Sanchez Gual  <lluis@ximian.com>
 
        * Thread.cs: Added new fields to keep sync with MonoThread.
index 376105b211122e90bf556cfc7f4ac4b43cc45953..66826e12d409edde4a833a034f7b6135d82ef672 100755 (executable)
@@ -627,7 +627,7 @@ namespace System.Threading
 
                [CLSCompliant (false)]
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
-               extern public static byte VolatileRead (ref UIntPtr address);
+               extern public static UIntPtr VolatileRead (ref UIntPtr address);
 
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                extern public static void VolatileWrite (ref byte address, byte value);
index 0d72a13b8238ed062f4692bb85a7495c103897a9..caafdfe80c307d940a2f8ed4e0db8b49c6e7f6f6 100755 (executable)
@@ -65,7 +65,7 @@ namespace System.Threading {
                public static extern void GetMinThreads (out int workerThreads, out int completionPortThreads);
                        
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
-               public static extern void SetMinThreads (int workerThreads, int completionPortThreads);
+               public static extern bool SetMinThreads (int workerThreads, int completionPortThreads);
                        
                public static bool QueueUserWorkItem (WaitCallback callback)
                {