Re: PsCreateSystemThread in WDM Lower edge Ndis Drive r

> $$ Yup! i am aware of this. I wonder why Windows kernel mode threads are

designed in this fashion ?!

Imagine your thread just allocated some memory and is killed. The memory will leak.
To prevent this, thread termination is done by queuing an APC to a thread, which will fire on return to user mode.
Since system thread never returns to user mode, this does not work for it.

BTW - UNIX has the same semantics for signals.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com