NAME

RtlpWaitForCriticalSection  (NTDLL.@)

SYNOPSIS

 NTSTATUS RtlpWaitForCriticalSection
 (
  RTL_CRITICAL_SECTION* crit
 )

DESCRIPTION

Waits for a busy critical section to become free.

PARAMS

crit [In/Out] Critical section to wait for.

RETURNS

STATUS_SUCCESS.

NOTES

Use RtlEnterCriticalSection instead of this function as it is often much faster.

SEE

RtlInitializeCriticalSectionEx, RtlInitializeCriticalSection, RtlInitializeCriticalSectionAndSpinCount, RtlDeleteCriticalSection, RtlEnterCriticalSection, RtlLeaveCriticalSection, RtlTryEnterCriticalSection

IMPLEMENTATION

Defined in "winternl.h".

Implemented in "dlls/ntdll/critsection.c". source.winehq.org/source/dlls/ntdll/critsection.c

Debug channel "ntdll".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2008.