Muokkaa

Jaa


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.