[NTOSKRNL] Rename ExpCriticalWorkerThreads and ExpDelayedWorkerThreads (no p)
authorPierre Schweitzer <pierre@reactos.org>
Wed, 7 Feb 2018 16:51:35 +0000 (17:51 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 7 Feb 2018 20:37:17 +0000 (21:37 +0100)
to match Windows names and make them available for the whole kernel.

ntoskrnl/ex/work.c
ntoskrnl/include/internal/ex.h

index a5cfe71..731f442 100644 (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 */
index 09ba464..053b8c8 100644 (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