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

◆ SetMinThreads()

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

Definition at line 163 of file ThreadPool.cs.

164 {
166 {
167 return PortableThreadPool.ThreadPoolInstance.SetMinThreads(workerThreads, completionPortThreads);
168 }
169 if (workerThreads >= 0 && completionPortThreads >= 0)
170 {
172 }
173 return false;
174 }
static bool SetMinThreadsNative(int workerThreads, int completionPortThreads)
static readonly bool UsePortableThreadPool
Definition ThreadPool.cs:12

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

Referenced by Terraria.Program.LaunchGame().