[NTOSKRNL] Rename ExpCriticalWorkerThreads and ExpDelayedWorkerThreads (no p)

to match Windows names and make them available for the whole kernel.
This commit is contained in:
Pierre Schweitzer 2018-02-07 17:51:35 +01:00
parent ee7b3b315d
commit 853f04e6fc
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 6 additions and 4 deletions

View file

@ -35,8 +35,8 @@
EX_WORK_QUEUE ExWorkerQueue[MaximumWorkQueue];
/* Accounting of the total threads and registry hacked threads */
ULONG ExpCriticalWorkerThreads;
ULONG ExpDelayedWorkerThreads;
ULONG ExCriticalWorkerThreads;
ULONG ExDelayedWorkerThreads;
ULONG ExpAdditionalCriticalWorkerThreads;
ULONG ExpAdditionalDelayedWorkerThreads;
@ -566,7 +566,7 @@ ExpInitializeWorkerThreads(VOID)
{
/* Create the thread */
ExpCreateWorkerThread(CriticalWorkQueue, FALSE);
ExpCriticalWorkerThreads++;
ExCriticalWorkerThreads++;
}
/* Create the built-in worker threads for the delayed queue */
@ -574,7 +574,7 @@ ExpInitializeWorkerThreads(VOID)
{
/* Create the thread */
ExpCreateWorkerThread(DelayedWorkQueue, FALSE);
ExpDelayedWorkerThreads++;
ExDelayedWorkerThreads++;
}
/* Create the built-in worker thread for the hypercritical queue */

View file

@ -28,6 +28,8 @@ extern LIST_ENTRY ExpNonPagedLookasideListHead;
extern LIST_ENTRY ExpPagedLookasideListHead;
extern KSPIN_LOCK ExpNonPagedLookasideListLock;
extern KSPIN_LOCK ExpPagedLookasideListLock;
extern ULONG ExCriticalWorkerThreads;
extern ULONG ExDelayedWorkerThreads;
/*
* NT/Cm Version Info variables