* ThreadPool.cs: set return type of SetMinThreads to bool
svn path=/trunk/mcs/; revision=29622
+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.
[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);
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)
{