PsIsThreadTerminating - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

BOOLEAN PsIsThreadTerminating(
  [in] PETHREAD Thread
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-psisthreadterminating)

PsIsThreadTerminating function

Description

The PsIsThreadTerminating routine checks whether a thread is terminating.

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.

See also

PsGetProcessExitTime