Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetMaxThreads()

static bool System.Threading.ThreadPool.SetMaxThreads ( int workerThreads,
int completionPortThreads )
inlinestatic

Definition at line 141 of file ThreadPool.cs.

142 {
144 {
145 return PortableThreadPool.ThreadPoolInstance.SetMaxThreads(workerThreads, completionPortThreads);
146 }
147 if (workerThreads >= 0 && completionPortThreads >= 0)
148 {
150 }
151 return false;
152 }
static readonly bool UsePortableThreadPool
Definition ThreadPool.cs:12
static bool SetMaxThreadsNative(int workerThreads, int completionPortThreads)

References System.Threading.ThreadPool.SetMaxThreadsNative(), System.Threading.PortableThreadPool.ThreadPoolInstance, and System.Threading.ThreadPool.UsePortableThreadPool.