InitializeCriticalSectionAndSpinCount (KERNEL32.@)
BOOL InitializeCriticalSectionAndSpinCount ( CRITICAL_SECTION* crit, DWORD spincount )
Initialise a critical section with a spin count.
crit | [Out] | Critical section to initialise. |
spincount | [In] | Number of times to spin upon contention. |
Success: TRUE.
Failure: Nothing. If the function fails an exception is raised.
spincount is ignored on uni-processor systems.
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.