mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* Linux.cs: a '/' is a valid char in a file path. Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <[email protected]> * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf. * Array.cs: fix Array.Copy. * AssemblyLoadEventArgs.cs: rename field. * CLSCompliantAttribute.cs: use correct name for the class. * Char.cs: fix IsLetter. * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs, SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates. * Convert.cs: CLSCompliant updates, add ChangeType() methods. * Delegate.cs: renamed target field to m_target. * Enum.cs: added missing methods. * MonoType.cs: add a constructor and some needed properties. * Object.cs: implement GetType(). * String.cs: CLSCompliant updates. Fixes everywhere to remove the ending 0 char. * Type.cs: add missing methods/properties. Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <[email protected]> * ArrayList.cs: implement ArrayListEnumerator. * Hashtable.cs: hardcode the prime number table. Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <[email protected]> * Calendar.cs: CLSCompliant updates. Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <[email protected]> * CheckPermission.cs: disable ModeAccess() code: it's wrong. * FileStream.cs: only trow an exception if the read failed in ReadByte(). * StreamReader.cs: implement Peek and Read. * TextWriter.cs: CLSCompliant updates. Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <[email protected]> * Assembly.cs: implement some of the Load() methods. * ConstructorInfo.cs: some missing stubs and fields. * FieldInfo.cs: IsInitOnly property. * ParameterInfo.cs: stubs for missing properties. * ParameterModifier.cs: implemented class. Wed Nov 14 17:01:45 CET 2001 Paolo Molaro <[email protected]> * ConstructorBuilder.cs: added missing stubs and some implementation. * CustomAttributeBuilder.cs: added. * EventBuilder.cs: added. * FieldBuilder.cs: updates. * MethodBuilder.cs: stuff to implement P/Invoke methods. * ModuleBuilder.cs: added GetArrayMethod() stub. * ParameterBuilder.cs, PropertyBuilder.cs: updates. * TypeBuilder.cs: updates and stubs. Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <[email protected]> * CallingConvention.cs: add missing Winapi. Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <[email protected]> * IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates. Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <[email protected]> * MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs, SHA256Managed.cs: CLSCompliant updates. Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <[email protected]> * Encoding.cs: renamed some fields. * StringBuilder.cs: CLSCompliant updates. Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <[email protected]> * Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates. svn path=/trunk/mcs/; revision=1351
91 lines
2.9 KiB
C#
Executable File
91 lines
2.9 KiB
C#
Executable File
//
|
|
// System.Threading.ThreadPool.cs
|
|
//
|
|
// Author:
|
|
// Dick Porter ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
|
|
namespace System.Threading
|
|
{
|
|
public sealed class ThreadPool
|
|
{
|
|
public static bool BindHandle(IntPtr osHandle) {
|
|
// FIXME
|
|
return(false);
|
|
}
|
|
|
|
public static bool QueueUserWorkItem(WaitCallback callback) {
|
|
// FIXME
|
|
return(false);
|
|
}
|
|
|
|
public static bool QueueUserWorkItem(WaitCallback callback, object state) {
|
|
// FIXME
|
|
return(false);
|
|
}
|
|
|
|
public static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callback, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce) {
|
|
if(millisecondsTimeOutInterval < -1) {
|
|
throw new ArgumentOutOfRangeException("timeout < -1");
|
|
}
|
|
// FIXME
|
|
return(null);
|
|
}
|
|
|
|
public static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callback, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce) {
|
|
if(millisecondsTimeOutInterval < -1) {
|
|
throw new ArgumentOutOfRangeException("timeout < -1");
|
|
}
|
|
// FIXME
|
|
return(null);
|
|
}
|
|
|
|
public static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callback, object state, TimeSpan timeout, bool executeOnlyOnce) {
|
|
// LAMESPEC: I assume it means "timeout" when it says "millisecondsTimeOutInterval"
|
|
if(timeout.Milliseconds < -1) {
|
|
throw new ArgumentOutOfRangeException("timeout < -1");
|
|
}
|
|
if(timeout.Milliseconds > Int32.MaxValue) {
|
|
throw new NotSupportedException("timeout too large");
|
|
}
|
|
// FIXME
|
|
return(null);
|
|
}
|
|
|
|
[CLSCompliant(false)]
|
|
public static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callback, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce) {
|
|
// FIXME
|
|
return(null);
|
|
}
|
|
|
|
public static bool UnsafeQueueUserWorkItem(WaitCallback callback, object state) {
|
|
// FIXME
|
|
return(false);
|
|
}
|
|
|
|
public static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callback, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce) {
|
|
// FIXME
|
|
return(null);
|
|
}
|
|
|
|
public static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callback, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce) {
|
|
// FIXME
|
|
return(null);
|
|
}
|
|
|
|
public static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callback, object state, TimeSpan timeout, bool executeOnlyOnce) {
|
|
// FIXME
|
|
return(null);
|
|
}
|
|
|
|
[CLSCompliant(false)]
|
|
public static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callback, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce) {
|
|
// FIXME
|
|
return(null);
|
|
}
|
|
}
|
|
}
|