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 "winternl.h". https://source.winehq.org/source/include/winternl.h

Implemented in "dlls/ntdll/sync.c". https://source.winehq.org/source/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 Apr 2024.