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];
struct _KPROCESS* Process;
UCHAR KernelApcInProgress;
UCHAR KernelApcPending;
ULONG KernelApcInProgress;
ULONG KernelApcPending;
USHORT UserApcPending;
} KAPC_STATE, *PKAPC_STATE;
@ -201,6 +201,7 @@ typedef struct _KTHREAD
UCHAR Pad;
PKQUEUE Queue;
KTIMER Timer;
KDPC TimerDpc; // Added by Phillip Susi for internal KeAddThreadTimeout() impl.
LIST_ENTRY QueueListEntry;
KAFFINITY Affinity;
UCHAR Preempted;