mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
Commit migrated from https://github.com/dotnet/corefx/commit/e0aa1e7697fb66057ed4f0be1b93e9adccd1b8c5
46 lines
4.4 KiB
C#
46 lines
4.4 KiB
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
// ------------------------------------------------------------------------------
|
|
// Changes to this file must follow the http://aka.ms/api-review process.
|
|
// ------------------------------------------------------------------------------
|
|
|
|
|
|
namespace System.Threading
|
|
{
|
|
public sealed partial class RegisteredWaitHandle : System.MarshalByRefObject
|
|
{
|
|
internal RegisteredWaitHandle() { }
|
|
public bool Unregister(System.Threading.WaitHandle waitObject) { throw null; }
|
|
}
|
|
public static partial class ThreadPool
|
|
{
|
|
[System.ObsoleteAttribute("ThreadPool.BindHandle(IntPtr) has been deprecated. Please use ThreadPool.BindHandle(SafeHandle) instead.", false)]
|
|
public static bool BindHandle(System.IntPtr osHandle) { throw null; }
|
|
[System.Security.SecurityCriticalAttribute]
|
|
public static bool BindHandle(System.Runtime.InteropServices.SafeHandle osHandle) { throw null; }
|
|
public static void GetAvailableThreads(out int workerThreads, out int completionPortThreads) { throw null; }
|
|
public static void GetMaxThreads(out int workerThreads, out int completionPortThreads) { throw null; }
|
|
public static void GetMinThreads(out int workerThreads, out int completionPortThreads) { throw null; }
|
|
public static bool QueueUserWorkItem(System.Threading.WaitCallback callBack) { throw null; }
|
|
public static bool QueueUserWorkItem(System.Threading.WaitCallback callBack, object state) { throw null; }
|
|
public static System.Threading.RegisteredWaitHandle RegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce) { throw null; }
|
|
public static System.Threading.RegisteredWaitHandle RegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce) { throw null; }
|
|
public static System.Threading.RegisteredWaitHandle RegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, System.TimeSpan timeout, bool executeOnlyOnce) { throw null; }
|
|
[System.CLSCompliantAttribute(false)]
|
|
public static System.Threading.RegisteredWaitHandle RegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce) { throw null; }
|
|
public static bool SetMaxThreads(int workerThreads, int completionPortThreads) { throw null; }
|
|
public static bool SetMinThreads(int workerThreads, int completionPortThreads) { throw null; }
|
|
[System.CLSCompliantAttribute(false)]
|
|
public static unsafe bool UnsafeQueueNativeOverlapped(System.Threading.NativeOverlapped* overlapped) { throw null; }
|
|
public static bool UnsafeQueueUserWorkItem(System.Threading.WaitCallback callBack, object state) { throw null; }
|
|
public static System.Threading.RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce) { throw null; }
|
|
public static System.Threading.RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, long millisecondsTimeOutInterval, bool executeOnlyOnce) { throw null; }
|
|
public static System.Threading.RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, System.TimeSpan timeout, bool executeOnlyOnce) { throw null; }
|
|
[System.CLSCompliantAttribute(false)]
|
|
public static System.Threading.RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle waitObject, System.Threading.WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce) { throw null; }
|
|
}
|
|
public delegate void WaitCallback(object state);
|
|
public delegate void WaitOrTimerCallback(object state, bool timedOut);
|
|
}
|