PsIsThreadTerminating function (ntifs.h)
The PsIsThreadTerminating routine checks whether a thread is terminating.
Syntax
BOOLEAN PsIsThreadTerminating(
[in] PETHREAD Thread
);
Parameters
[in] Thread
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 |
Target Platform | Universal |
Header | ntifs.h (include Ntifs.h, FltKernel.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= DISPATCH_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for