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

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.