This topic has not yet been rated - Rate this topic

PsIsThreadTerminating routine

The PsIsThreadTerminating routine checks whether a thread is terminating.

Syntax


BOOLEAN PsIsThreadTerminating(
  _In_  PETHREAD Thread
);

Parameters

Thread [in]

A pointer to the thread to be checked for termination.

Return value

The PsIsThreadTerminating routine returns TRUE if the thread is terminating, otherwise FALSE.

Remarks

For more information about using system threads and managing synchronization within a nonarbitrary thread context, see Driver Threads, Dispatcher Objects, and Resources.

Requirements

Version

Available in Microsoft Windows 2000 and later Windows operating systems.

Header

Ntifs.h (include Ntifs.h or FltKernel.h)

Library

Contained in Ntoskrnl.lib.

IRQL

<= DISPATCH_LEVEL

See also

PsGetProcessExitTime

 

 

Send comments about this topic to Microsoft

Build date: 11/21/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.