| title | SemaphoreTraits Structure | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 09/27/2018 | ||
| ms.technology |
|
||
| ms.topic | reference | ||
| f1_keywords |
|
||
| dev_langs |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | eddb8576-d063-409b-9201-cc87ca5d111e | ||
| author | mikeblome | ||
| ms.author | mblome | ||
| ms.workload |
|
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.