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 |
|
|
Library |
|
|
IRQL | <= DISPATCH_LEVEL |
See also
Send comments about this topic to Microsoft
Build date: 11/21/2012