NAME

RtlSleepConditionVariableCS  (NTDLL.@)

SYNOPSIS

 NTSTATUS RtlSleepConditionVariableCS
 (
  RTL_CONDITION_VARIABLE* variable,
  RTL_CRITICAL_SECTION*   crit,
  const LARGE_INTEGER*    timeout
 )

DESCRIPTION

Atomically releases the critical section and suspends the thread, waiting for a Wake(All)ConditionVariable event. Afterwards it enters the critical section again and returns.

PARAMS

variable [In/Out] condition variable.
crit [In/Out] critical section to leave temporarily.
timeout [In] timeout.

RETURNS

see NtWaitForKeyedEvent for all possible return values.

IMPLEMENTATION

Declared in "include/winternl.h". gitlab.winehq.org/wine/wine/blob/master/include/winternl.h

Implemented in "dlls/ntdll/sync.c". gitlab.winehq.org/wine/wine/blob/master/dlls/ntdll/sync.c

Debug channel "sync".


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