table of contents
other versions
- wheezy 1.4.1-4
InitializeCriticalSectionAndSpinCount(3w) | Wine API | InitializeCriticalSectionAndSpinCount(3w) |
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¶
Declared in "winbase.h". Implemented in "dlls/kernel32/sync.c". Debug channel "sync".Oct 2012 | Wine API |