| title | SemaphoreTraits Structure | ||
|---|---|---|---|
| ms.date | 09/27/2018 | ||
| ms.topic | reference | ||
| f1_keywords |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | eddb8576-d063-409b-9201-cc87ca5d111e |
Defines common characteristics of a Semaphore object.
struct SemaphoreTraits : HANDLENullTraits;| Name | Description |
|---|---|
| SemaphoreTraits::Unlock | Releases control of a shared resource. |
HANDLENullTraits
SemaphoreTraits
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::HandleTraits
Releases control of a shared resource.
inline static void Unlock(
_In_ Type h
);h
Handle to a Semaphore object.
If the unlock operation is unsuccessful, Unlock() emits an error that indicates the cause of the failure.