RtnLeaveCriticalLock

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

IMPORTANT! 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

NOTE: RTX64 Network Abstraction Layer (NAL) support requires RTX64 4.0 or later

Header

rtnapi.h

Library

To use with the NAL: RTX64Nal.lib

To use with the TCP/IP Stack: RtTcpip.lib