Re: Thread termination and synchronous IRP problem?
- From: "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx>
- Date: Sat, 4 Nov 2006 00:29:32 +0300
Wait with KernelMode/FALSE is NOT alertable at all, and the process is not
killable neither by Ctrl-C nor by Task Manager nor by KILL.EXE. It is just
plain hung in "semi-killed" state.
As far as I understand, a thread cannot get terminated while it is in
the kernel mode - thread's termination is postponed until it returns to
the user mode .
Correct. We are speaking about _whether KeWaitForSingleObject can be
interrupted_ by TerminateProcess or not.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
.
- Follow-Ups:
- Re: Thread termination and synchronous IRP problem?
- From: soviet_bloke
- Re: Thread termination and synchronous IRP problem?
- References:
- Re: Thread termination and synchronous IRP problem?
- From: Maxim S. Shatskih
- Re: Thread termination and synchronous IRP problem?
- From: Maxim S. Shatskih
- Re: Thread termination and synchronous IRP problem?
- From: soviet_bloke
- Re: Thread termination and synchronous IRP problem?
- Prev by Date: Usb driver for modem
- Next by Date: Re: DriverEntry parameters
- Previous by thread: Re: Thread termination and synchronous IRP problem?
- Next by thread: Re: Thread termination and synchronous IRP problem?
- Index(es):
Relevant Pages
|