NAME

RtlpUnWaitCriticalSection  (NTDLL.@)

SYNOPSIS

 NTSTATUS RtlpUnWaitCriticalSection
 (
  RTL_CRITICAL_SECTION* crit
 )

DESCRIPTION

Notifies other threads waiting on the busy critical section that it has become free.

PARAMS

crit [In/Out] Critical section.

RETURNS

Success: STATUS_SUCCESS.

Failure: Any error returned by NtReleaseSemaphore.

NOTES

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

SEE

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 Jan 2008.