RtlTryEnterCriticalSection3w
Usage
BOOL RtlTryEnterCriticalSection
(
RTL_CRITICAL_SECTION* crit
)
Overview
Tries to enter a critical section without waiting.
Params
crit [In/Out] Critical section to enter.
Returns
Success: TRUE. The critical section is held by the caller.
Failure: FALSE. The critical section is currently held by another thread.
See
RtlInitializeCriticalSectionEx(), RtlInitializeCriticalSection(), RtlInitializeCriticalSectionAndSpinCount(3w), RtlDeleteCriticalSection(), RtlEnterCriticalSection(3w), RtlLeaveCriticalSection(), RtlSetCriticalSectionSpinCount(3w)
Implementation
Declared in "winternl.h".
Implemented in "dlls/ntdll/critsection.c".
Debug channel "ntdll".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.