SYS(2336) - Critical Section support

Controls entries to or exits from a critical section in MTDLL servers.

SYS(2336 [, nAction])

Parameters

nAction

Specifies the action performed by the SYS(2336) function according to the following table.

nAction Description

(none)

Returns the current reference count. (Default)

1

Calls EnterCriticalSection.

2

Calls LeaveCriticalSection.

3

Calls LeaveCriticalSection as many times as necessary to reduce the reference count to 0, thereby freeing the critical section.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic