Compartilhar via


SemaphoreTraits::Unlock Method

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.

Requirements

Header: corewrappers.h

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

See Also

Reference

SemaphoreTraits Structure