NAME

InitializeCriticalSectionAndSpinCount  (KERNEL32.@)

SYNOPSIS

 BOOL InitializeCriticalSectionAndSpinCount
 (
  CRITICAL_SECTION* crit,
  DWORD             spincount
 )

DESCRIPTION

Initialise a critical section with a spin count.

PARAMS

crit [Out] Critical section to initialise.
spincount [In] Number of times to spin upon contention.

RETURNS

Success: TRUE.

Failure: Nothing. If the function fails an exception is raised.

NOTES

spincount is ignored on uni-processor systems.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/sync.c". source.winehq.org/source/dlls/kernel32/sync.c

Debug channel "sync".


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