Condividi tramite


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) Default Returns the current reference count
    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.

Remarks

SYS(2336) accesses EnterCriticalSection and LeaveCriticalSection Windows API calls. You can find details of these functions in the MSDN Library Platform SDK reference at https://msdn.microsoft.com/library.

See Also

SYS(3095) |Accessing APIs | BUILD MTDLL Command