svn path=/trunk/mcs/; revision=152118
[SecurityPermission (SecurityAction.Demand, ControlThread=true)]
public static extern bool SetMinThreads (int workerThreads, int completionPortThreads);
- [MonoTODO("The max number of threads cannot be decreased.")]
[MethodImplAttribute(MethodImplOptions.InternalCall)]
[SecurityPermission (SecurityAction.Demand, ControlThread=true)]
public static extern bool SetMaxThreads (int workerThreads, int completionPortThreads);
GC.SuppressFinalize (this);
}
+#if NET_4_0
+ public void Dispose ()
+ {
+ Close ();
+ }
+#endif
+
public const int WaitTimeout = 258;
//