Lifecycle management of threads #29

Merged
harraiken merged 240 commits from threads into master 2026-09-07 13:45:09 +02:00
2 changed files with 8 additions and 0 deletions
Showing only changes of commit b016ffd0d7 - Show all commits

View File

@@ -12,6 +12,7 @@
#include <xtbase.h> #include <xtbase.h>
#include <xtstruct.h> #include <xtstruct.h>
#include <xttypes.h> #include <xttypes.h>
#include <extypes.h>
#include <potypes.h> #include <potypes.h>
#include ARCH_HEADER(xtstruct.h) #include ARCH_HEADER(xtstruct.h)
#include ARCH_HEADER(artypes.h) #include ARCH_HEADER(artypes.h)
@@ -574,6 +575,9 @@ typedef struct _KPROCESSOR_CONTROL_BLOCK
KPROCESSOR_STATE ProcessorState; KPROCESSOR_STATE ProcessorState;
KSPIN_LOCK PrcbLock; KSPIN_LOCK PrcbLock;
KSPIN_LOCK_QUEUE LockQueue[MaximumLock]; KSPIN_LOCK_QUEUE LockQueue[MaximumLock];
LOOKASIDE_LIST LookasideList[16];
LOOKASIDE_LIST NonPagedLookasideList[POOL_LOOKASIDE_LISTS];
LOOKASIDE_LIST PagedLookasideList[POOL_LOOKASIDE_LISTS];
VOLATILE ULONG IpiFrozen; VOLATILE ULONG IpiFrozen;
VOLATILE LONG_PTR RequestSummary; VOLATILE LONG_PTR RequestSummary;
KDPC_DATA DpcData[2]; KDPC_DATA DpcData[2];

View File

@@ -12,6 +12,7 @@
#include <xtbase.h> #include <xtbase.h>
#include <xtstruct.h> #include <xtstruct.h>
#include <xttypes.h> #include <xttypes.h>
#include <extypes.h>
#include <potypes.h> #include <potypes.h>
#include ARCH_HEADER(xtstruct.h) #include ARCH_HEADER(xtstruct.h)
#include ARCH_HEADER(artypes.h) #include ARCH_HEADER(artypes.h)
@@ -535,6 +536,9 @@ typedef struct _KPROCESSOR_CONTROL_BLOCK
KPROCESSOR_STATE ProcessorState; KPROCESSOR_STATE ProcessorState;
KSPIN_LOCK PrcbLock; KSPIN_LOCK PrcbLock;
KSPIN_LOCK_QUEUE LockQueue[MaximumLock]; KSPIN_LOCK_QUEUE LockQueue[MaximumLock];
LOOKASIDE_LIST LookasideList[16];
LOOKASIDE_LIST NonPagedLookasideList[POOL_LOOKASIDE_LISTS];
LOOKASIDE_LIST PagedLookasideList[POOL_LOOKASIDE_LISTS];
ULONG_PTR MultiThreadProcessorSet; ULONG_PTR MultiThreadProcessorSet;
VOLATILE ULONG IpiFrozen; VOLATILE ULONG IpiFrozen;
VOLATILE LONG_PTR RequestSummary; VOLATILE LONG_PTR RequestSummary;