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.

NOTE:  It is NOT safe to nest CriticalLocks.

Syntax

void RtnLeaveCriticalLock(
    CriticalLock *pLock
);

Parameters

pLock

Pointer to a critical lock data structure

Return Values

None

Requirements

Header Drvutl.h
Library Rtxtcpip.lib
IntervalZero.com | Support | Give Feedback