RtlReleaseSRWLockShared - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

// winbase:ReleaseSRWLockShared
_Releases_shared_lock_(*SRWLock)
NTSYSAPI
VOID
NTAPI
RtlReleaseSRWLockShared(
    _Inout_ PRTL_SRWLOCK SRWLock
    );

#endif

View code on GitHub
// synchapi.h

VOID ReleaseSRWLockShared(
  [in, out] PSRWLOCK SRWLock
);
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (nf-synchapi-releasesrwlockshared)

ReleaseSRWLockShared function

Description

Releases a slim reader/writer (SRW) lock that was acquired in shared mode.

Parameters

SRWLock [in, out]

A pointer to the SRW lock.

Remarks

The SRW lock must be released by the same thread that acquired it. You can use Application Verifier to help verify that your program uses SRW locks correctly (enable Locks checker from Basic group).

See also

AcquireSRWLockShared

Slim Reader/Writer (SRW) Locks

Synchronization Functions

Vertdll APIs available in VBS enclaves