Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.31 KB

File metadata and controls

56 lines (37 loc) · 1.31 KB
title SemaphoreTraits Structure
ms.date 09/27/2018
ms.topic reference
f1_keywords
corewrappers/Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits
corewrappers/Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits::Unlock
helpviewer_keywords
Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits structure
Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits::Unlock method
ms.assetid eddb8576-d063-409b-9201-cc87ca5d111e

SemaphoreTraits Structure

Defines common characteristics of a Semaphore object.

Syntax

struct SemaphoreTraits : HANDLENullTraits;

Members

Public Methods

Name Description
SemaphoreTraits::Unlock Releases control of a shared resource.

Inheritance Hierarchy

HANDLENullTraits

SemaphoreTraits

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers::HandleTraits

SemaphoreTraits::Unlock

Releases control of a shared resource.

inline static void Unlock(
   _In_ Type h
);

Parameters

h
Handle to a Semaphore object.

Remarks

If the unlock operation is unsuccessful, Unlock() emits an error that indicates the cause of the failure.