KernAllocMutexLock: Difference between revisions
Appearance
Created page with "==Synopsis== APIRET APIENTRY KernAllocMutexLock(KEEMutexLock* ml); ==Description== Initialize a mutexlock. This is basically the semaphore equivalent of a spinlock. Likewise,..." |
m Ak120 moved page OS2 API:KEE:KernAllocMutexLock to KernAllocMutexLock |
(No difference)
|
Revision as of 00:36, 27 February 2017
Synopsis
APIRET APIENTRY KernAllocMutexLock(KEEMutexLock* ml);
Description
Initialize a mutexlock. This is basically the semaphore equivalent of a spinlock. Likewise, it is usable to protect critical regions. The difference to a spinlock is that waiting on a mutex will send the thread that processor is executing to sleep. This makes sense - in contrast to a spinlock - for longer critical regions.
Parameters
ml: Pointer to a mutexlock structure in 32 bit memory.