EngIsSemaphoreOwnedByCurrentThread function
The EngIsSemaphoreOwnedByCurrentThread function determines whether the currently executing thread holds the specified semaphore.
Syntax
BOOL EngIsSemaphoreOwnedByCurrentThread( _In_ HSEMAPHORE hsem );
Parameters
- hsem [in]
-
Handle to the semaphore.
Return value
EngIsSemaphoreOwnedByCurrentThread returns TRUE if the currently executing thread holds the specified semaphore, and FALSE if it does not.
Requirements
|
Version | Available in Windows 2000 and later versions of the Windows operating systems. |
|---|---|
|
Header |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012