using System;
using Cpp2IlInjected;
namespace System.Threading
{
/// Provides a pool of threads that can be used to execute tasks, post work items, process asynchronous I/O, wait on behalf of other threads, and process timers.
// Token: 0x0200033F RID: 831
[Token(Token = "0x200033F")]
public static class ThreadPool
{
/// Sets the minimum number of threads the thread pool creates on demand, as new requests are made, before switching to an algorithm for managing thread creation and destruction.
/// The minimum number of worker threads that the thread pool creates on demand.
/// The minimum number of asynchronous I/O threads that the thread pool creates on demand.
///
/// if the change is successful; otherwise, .
// Token: 0x06001E0E RID: 7694 RVA: 0x00013248 File Offset: 0x00011448
[Token(Token = "0x6001E0E")]
[Address(RVA = "0x1DA9360", Offset = "0x1DA8160", VA = "0x181DA9360")]
public static bool SetMinThreads(int workerThreads, int completionPortThreads)
{
return default(bool);
}
/// Retrieves the minimum number of threads the thread pool creates on demand, as new requests are made, before switching to an algorithm for managing thread creation and destruction.
/// When this method returns, contains the minimum number of worker threads that the thread pool creates on demand.
/// When this method returns, contains the minimum number of asynchronous I/O threads that the thread pool creates on demand.
// Token: 0x06001E0F RID: 7695 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001E0F")]
[Address(RVA = "0x1DA8D30", Offset = "0x1DA7B30", VA = "0x181DA8D30")]
public static void GetMinThreads(out int workerThreads, out int completionPortThreads)
{
}
// Token: 0x06001E10 RID: 7696 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001E10")]
[Address(RVA = "0x1DA8F50", Offset = "0x1DA7D50", VA = "0x181DA8F50")]
private static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce, ref StackCrawlMark stackMark, bool compressStack)
{
return null;
}
/// Registers a delegate to wait for a , specifying a 32-bit signed integer for the time-out in milliseconds.
/// The to register. Use a other than .
/// The delegate to call when the parameter is signaled.
/// The object that is passed to the delegate.
/// The time-out in milliseconds. If the parameter is 0 (zero), the function tests the object's state and returns immediately. If is -1, the function's time-out interval never elapses.
///
/// to indicate that the thread will no longer wait on the parameter after the delegate has been called; to indicate that the timer is reset every time the wait operation completes until the wait is unregistered.
/// The that encapsulates the native handle.
/// The parameter is less than -1.
// Token: 0x06001E11 RID: 7697 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001E11")]
[Address(RVA = "0x1DA9270", Offset = "0x1DA8070", VA = "0x181DA9270")]
public static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce)
{
return null;
}
/// Registers a delegate to wait for a , specifying a value for the time-out.
/// The to register. Use a other than .
/// The delegate to call when the parameter is signaled.
/// The object passed to the delegate.
/// The time-out represented by a . If is 0 (zero), the function tests the object's state and returns immediately. If is -1, the function's time-out interval never elapses.
///
/// to indicate that the thread will no longer wait on the parameter after the delegate has been called; to indicate that the timer is reset every time the wait operation completes until the wait is unregistered.
/// The that encapsulates the native handle.
/// The parameter is less than -1.
/// The parameter is greater than .
// Token: 0x06001E12 RID: 7698 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001E12")]
[Address(RVA = "0x1DA9110", Offset = "0x1DA7F10", VA = "0x181DA9110")]
public static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, TimeSpan timeout, bool executeOnlyOnce)
{
return null;
}
/// Queues a method for execution, and specifies an object containing data to be used by the method. The method executes when a thread pool thread becomes available.
/// A representing the method to execute.
/// An object containing data to be used by the method.
///
/// if the method is successfully queued; is thrown if the work item could not be queued.
/// The common language runtime (CLR) is hosted, and the host does not support this action.
///
/// is .
// Token: 0x06001E13 RID: 7699 RVA: 0x00013260 File Offset: 0x00011460
[Token(Token = "0x6001E13")]
[Address(RVA = "0x1DA8F20", Offset = "0x1DA7D20", VA = "0x181DA8F20")]
public static bool QueueUserWorkItem(WaitCallback callBack, object state)
{
return default(bool);
}
/// Queues a method for execution. The method executes when a thread pool thread becomes available.
/// A that represents the method to be executed.
///
/// if the method is successfully queued; is thrown if the work item could not be queued.
///
/// is .
/// The common language runtime (CLR) is hosted, and the host does not support this action.
// Token: 0x06001E14 RID: 7700 RVA: 0x00013278 File Offset: 0x00011478
[Token(Token = "0x6001E14")]
[Address(RVA = "0x1DA8EF0", Offset = "0x1DA7CF0", VA = "0x181DA8EF0")]
public static bool QueueUserWorkItem(WaitCallback callBack)
{
return default(bool);
}
/// Queues the specified delegate to the thread pool, but does not propagate the calling stack to the worker thread.
/// A that represents the delegate to invoke when a thread in the thread pool picks up the work item.
/// The object that is passed to the delegate when serviced from the thread pool.
///
/// if the method succeeds; is thrown if the work item could not be queued.
/// The caller does not have the required permission.
/// An out-of-memory condition was encountered.
/// The work item could not be queued.
///
/// is .
// Token: 0x06001E15 RID: 7701 RVA: 0x00013290 File Offset: 0x00011490
[Token(Token = "0x6001E15")]
[Address(RVA = "0x1DA9550", Offset = "0x1DA8350", VA = "0x181DA9550")]
public static bool UnsafeQueueUserWorkItem(WaitCallback callBack, object state)
{
return default(bool);
}
// Token: 0x06001E16 RID: 7702 RVA: 0x000132A8 File Offset: 0x000114A8
[Token(Token = "0x6001E16")]
[Address(RVA = "0x1DA8D70", Offset = "0x1DA7B70", VA = "0x181DA8D70")]
private static bool QueueUserWorkItemHelper(WaitCallback callBack, object state, ref StackCrawlMark stackMark, bool compressStack)
{
return default(bool);
}
// Token: 0x06001E17 RID: 7703 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001E17")]
[Address(RVA = "0x1DA9470", Offset = "0x1DA8270", VA = "0x181DA9470")]
internal static void UnsafeQueueCustomWorkItem(IThreadPoolWorkItem workItem, bool forceGlobal)
{
}
// Token: 0x06001E18 RID: 7704 RVA: 0x000132C0 File Offset: 0x000114C0
[Token(Token = "0x6001E18")]
[Address(RVA = "0x1DA9370", Offset = "0x1DA8170", VA = "0x181DA9370")]
internal static bool TryPopCustomWorkItem(IThreadPoolWorkItem workItem)
{
return default(bool);
}
// Token: 0x06001E19 RID: 7705 RVA: 0x000132D8 File Offset: 0x000114D8
[Token(Token = "0x6001E19")]
[Address(RVA = "0x1DA9350", Offset = "0x1DA8150", VA = "0x181DA9350")]
internal static bool RequestWorkerThread()
{
return default(bool);
}
// Token: 0x06001E1A RID: 7706 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001E1A")]
[Address(RVA = "0x1DA8C80", Offset = "0x1DA7A80", VA = "0x181DA8C80")]
private static void EnsureVMInitialized()
{
}
// Token: 0x06001E1B RID: 7707 RVA: 0x000132F0 File Offset: 0x000114F0
[Token(Token = "0x6001E1B")]
[Address(RVA = "0x1DA9360", Offset = "0x1DA8160", VA = "0x181DA9360")]
private static bool SetMinThreadsNative(int workerThreads, int completionPortThreads)
{
return default(bool);
}
// Token: 0x06001E1C RID: 7708 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001E1C")]
[Address(RVA = "0x1DA8D30", Offset = "0x1DA7B30", VA = "0x181DA8D30")]
private static void GetMinThreadsNative(out int workerThreads, out int completionPortThreads)
{
}
// Token: 0x06001E1D RID: 7709 RVA: 0x00013308 File Offset: 0x00011508
[Token(Token = "0x6001E1D")]
[Address(RVA = "0x1DA8D50", Offset = "0x1DA7B50", VA = "0x181DA8D50")]
internal static bool NotifyWorkItemComplete()
{
return default(bool);
}
// Token: 0x06001E1E RID: 7710 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001E1E")]
[Address(RVA = "0x450D90", Offset = "0x44FB90", VA = "0x180450D90")]
internal static void ReportThreadStatus(bool isWorking)
{
}
// Token: 0x06001E1F RID: 7711 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001E1F")]
[Address(RVA = "0x1DA7630", Offset = "0x1DA6430", VA = "0x181DA7630")]
internal static void NotifyWorkItemProgress()
{
}
// Token: 0x06001E20 RID: 7712 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001E20")]
[Address(RVA = "0x1DA8D60", Offset = "0x1DA7B60", VA = "0x181DA8D60")]
internal static void NotifyWorkItemProgressNative()
{
}
// Token: 0x06001E21 RID: 7713 RVA: 0x00013320 File Offset: 0x00011520
[Token(Token = "0x6001E21")]
[Address(RVA = "0x1B65780", Offset = "0x1B64580", VA = "0x181B65780")]
internal static bool IsThreadPoolHosted()
{
return default(bool);
}
// Token: 0x06001E22 RID: 7714 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001E22")]
[Address(RVA = "0x1DA8D40", Offset = "0x1DA7B40", VA = "0x181DA8D40")]
private static void InitializeVMTp(ref bool enableWorkerTracking)
{
}
}
}