RtnLeaveCriticalLock

RtnLeaveCriticalLock exits a CriticalLock section. Entered by RtnEnterCriticalLock.  If RtnEnterCriticalLock is called for a particular CriticalLock structure, then RtnEnterCriticalLock should not be called again until after RtnLeaveCriticalLock is called. The time spent in a CriticalLock should be as short as possible. See RtnEnterCriticalLock and RtnInitializeCriticalLock for more information on critical locks.

It is NOT safe to nest CritcalLocks.

Syntax

void RtnLeaveCriticalLock(
    CriticalLock *pLock
);

Parameters

pLock

Pointer to a critical lock data structure

Return Value

None

Requirements

Minimum Supported Version RTX64 2013
Header rtnapi.h
Library RtTcpip.lib