added DPC for timers to KTHREAD, and fixed ApcState

svn path=/trunk/; revision=853
This commit is contained in:
Phillip Susi 1999-12-11 17:19:32 +00:00
parent 77c8585f1c
commit 81310b4307

View file

@ -158,8 +158,8 @@ typedef struct _KAPC_STATE
{ {
LIST_ENTRY ApcListHead[2]; LIST_ENTRY ApcListHead[2];
struct _KPROCESS* Process; struct _KPROCESS* Process;
UCHAR KernelApcInProgress; ULONG KernelApcInProgress;
UCHAR KernelApcPending; ULONG KernelApcPending;
USHORT UserApcPending; USHORT UserApcPending;
} KAPC_STATE, *PKAPC_STATE; } KAPC_STATE, *PKAPC_STATE;
@ -201,6 +201,7 @@ typedef struct _KTHREAD
UCHAR Pad; UCHAR Pad;
PKQUEUE Queue; PKQUEUE Queue;
KTIMER Timer; KTIMER Timer;
KDPC TimerDpc; // Added by Phillip Susi for internal KeAddThreadTimeout() impl.
LIST_ENTRY QueueListEntry; LIST_ENTRY QueueListEntry;
KAFFINITY Affinity; KAFFINITY Affinity;
UCHAR Preempted; UCHAR Preempted;