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: 0x02000359 RID: 857 [Token(Token = "0x2000359")] 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: 0x06002010 RID: 8208 RVA: 0x000155E8 File Offset: 0x000137E8 [Token(Token = "0x6002010")] [Address(RVA = "0xB54470", Offset = "0xB53470", VA = "0x180B54470")] 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: 0x06002011 RID: 8209 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002011")] [Address(RVA = "0xB53DB0", Offset = "0xB52DB0", VA = "0x180B53DB0")] public static void GetMinThreads(out int workerThreads, out int completionPortThreads) { } // Token: 0x06002012 RID: 8210 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002012")] [Address(RVA = "0xB54050", Offset = "0xB53050", VA = "0x180B54050")] 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: 0x06002013 RID: 8211 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002013")] [Address(RVA = "0xB54380", Offset = "0xB53380", VA = "0x180B54380")] 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: 0x06002014 RID: 8212 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002014")] [Address(RVA = "0xB54250", Offset = "0xB53250", VA = "0x180B54250")] 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: 0x06002015 RID: 8213 RVA: 0x00015600 File Offset: 0x00013800 [Token(Token = "0x6002015")] [Address(RVA = "0xB54020", Offset = "0xB53020", VA = "0x180B54020")] 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: 0x06002016 RID: 8214 RVA: 0x00015618 File Offset: 0x00013818 [Token(Token = "0x6002016")] [Address(RVA = "0xB53FF0", Offset = "0xB52FF0", VA = "0x180B53FF0")] 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: 0x06002017 RID: 8215 RVA: 0x00015630 File Offset: 0x00013830 [Token(Token = "0x6002017")] [Address(RVA = "0xB54660", Offset = "0xB53660", VA = "0x180B54660")] public static bool UnsafeQueueUserWorkItem(WaitCallback callBack, object state) { return default(bool); } // Token: 0x06002018 RID: 8216 RVA: 0x00015648 File Offset: 0x00013848 [Token(Token = "0x6002018")] [Address(RVA = "0xB53E00", Offset = "0xB52E00", VA = "0x180B53E00")] private static bool QueueUserWorkItemHelper(WaitCallback callBack, object state, ref StackCrawlMark stackMark, bool compressStack) { return default(bool); } // Token: 0x06002019 RID: 8217 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002019")] [Address(RVA = "0xB54580", Offset = "0xB53580", VA = "0x180B54580")] internal static void UnsafeQueueCustomWorkItem(IThreadPoolWorkItem workItem, bool forceGlobal) { } // Token: 0x0600201A RID: 8218 RVA: 0x00015660 File Offset: 0x00013860 [Token(Token = "0x600201A")] [Address(RVA = "0xB54480", Offset = "0xB53480", VA = "0x180B54480")] internal static bool TryPopCustomWorkItem(IThreadPoolWorkItem workItem) { return default(bool); } // Token: 0x0600201B RID: 8219 RVA: 0x00015678 File Offset: 0x00013878 [Token(Token = "0x600201B")] [Address(RVA = "0xB54460", Offset = "0xB53460", VA = "0x180B54460")] internal static bool RequestWorkerThread() { return default(bool); } // Token: 0x0600201C RID: 8220 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600201C")] [Address(RVA = "0xB53D00", Offset = "0xB52D00", VA = "0x180B53D00")] private static void EnsureVMInitialized() { } // Token: 0x0600201D RID: 8221 RVA: 0x00015690 File Offset: 0x00013890 [Token(Token = "0x600201D")] [Address(RVA = "0xB54470", Offset = "0xB53470", VA = "0x180B54470")] private static bool SetMinThreadsNative(int workerThreads, int completionPortThreads) { return default(bool); } // Token: 0x0600201E RID: 8222 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600201E")] [Address(RVA = "0xB53DB0", Offset = "0xB52DB0", VA = "0x180B53DB0")] private static void GetMinThreadsNative(out int workerThreads, out int completionPortThreads) { } // Token: 0x0600201F RID: 8223 RVA: 0x000156A8 File Offset: 0x000138A8 [Token(Token = "0x600201F")] [Address(RVA = "0xB53DE0", Offset = "0xB52DE0", VA = "0x180B53DE0")] internal static bool NotifyWorkItemComplete() { return default(bool); } // Token: 0x06002020 RID: 8224 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002020")] [Address(RVA = "0x92BEF0", Offset = "0x92AEF0", VA = "0x18092BEF0")] internal static void ReportThreadStatus(bool isWorking) { } // Token: 0x06002021 RID: 8225 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002021")] [Address(RVA = "0xB526D0", Offset = "0xB516D0", VA = "0x180B526D0")] internal static void NotifyWorkItemProgress() { } // Token: 0x06002022 RID: 8226 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002022")] [Address(RVA = "0xB53DF0", Offset = "0xB52DF0", VA = "0x180B53DF0")] internal static void NotifyWorkItemProgressNative() { } // Token: 0x06002023 RID: 8227 RVA: 0x000156C0 File Offset: 0x000138C0 [Token(Token = "0x6002023")] [Address(RVA = "0xB53DD0", Offset = "0xB52DD0", VA = "0x180B53DD0")] internal static bool IsThreadPoolHosted() { return default(bool); } // Token: 0x06002024 RID: 8228 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002024")] [Address(RVA = "0xB53DC0", Offset = "0xB52DC0", VA = "0x180B53DC0")] private static void InitializeVMTp(ref bool enableWorkerTracking) { } } }