PKTHREAD/PETHREAD

Hello,

What is the difference between PKTHREAD and PETHREAD ? I noticed
that both are declared in “ntddk.h” as

typedef struct _KTHREAD *PKTHREAD;
typedef struct _ETHREAD *PETHREAD;

When is each used ?

Thanks
Puja

KTHREAD is Kernel Thread structure (sizeof cca 1B0h).
ETHREAD is Executive Thread structure (sizeof cca 234h).
ETHREAD contains KTHREAD as its first member.
Thus it is exceutive extension of kernel thread.
Objects of type ETHREAD are maintained by Process Structure
(Ps - NT excecutive component) and allocated/freed by Object Manager.

Paul

-----P?vodn? zpr?va-----
Od: xxxxx@usa.net [SMTP:xxxxx@usa.net]
Odesl?no: 19. kv?tna 2000 17:44
Komu: NT Developers Interest List
P?edm?t: [ntdev] PKTHREAD/PETHREAD

Hello,

What is the difference between PKTHREAD and PETHREAD ? I noticed
that both are declared in “ntddk.h” as

typedef struct _KTHREAD *PKTHREAD;
typedef struct _ETHREAD *PETHREAD;

When is each used ?

Thanks
Puja


You are currently subscribed to ntdev as: xxxxx@sodatsw.cz
To unsubscribe send a blank email to $subst(‘Email.Unsub’)