Home
last modified time | relevance | path

Searched refs:ThreadPoolWorkerThreads (Results 1 – 1 of 1) sorted by relevance

/reactos/sdk/lib/rtl/
H A Dworkitem.c71 static LONG ThreadPoolWorkerThreads; variable
99 ThreadPoolWorkerThreads = 0; in RtlpInitializeThreadPool()
688 if (InterlockedIncrement(&ThreadPoolWorkerThreads) > MAX_WORKERTHREADS) in RtlpWorkerThreadProc()
744 …*((volatile LONG*)&ThreadPoolWorkerThreads) - *((volatile LONG*)&ThreadPoolWorkerThreadsLongReques… in RtlpWorkerThreadProc()
762 InterlockedDecrement(&ThreadPoolWorkerThreads); in RtlpWorkerThreadProc()
863 FreeWorkers = ThreadPoolWorkerThreads - ThreadPoolWorkerThreadsLongRequests; in RtlQueueWorkItem()
866 if (ThreadPoolWorkerThreads < MAX_WORKERTHREADS && in RtlQueueWorkItem()
867 …(FreeWorkers <= 0 || ThreadPoolWorkerThreads - ThreadPoolWorkerThreadsRequests < WORKERTHREAD_CREA… in RtlQueueWorkItem()
872 if (!NT_SUCCESS(Status) && *((volatile LONG*)&ThreadPoolWorkerThreads) != 0) in RtlQueueWorkItem()