NAME

RtlSetCriticalSectionSpinCount  (NTDLL.@)

SYNOPSIS

 ULONG RtlSetCriticalSectionSpinCount
 (
  RTL_CRITICAL_SECTION* crit,
  ULONG                 spincount
 )

DESCRIPTION

Sets the spin count of a critical section.

PARAMS

crit [In/Out] Critical section.
spincount [In] Spin count for crit.

RETURNS

The previous spin count.

NOTES

If the system is not SMP, spincount is ignored and set to 0.

SEE

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

IMPLEMENTATION

Declared in "winternl.h". https://source.winehq.org/source/include/winternl.h

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

Debug channel "ntdll".


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