Jump to content

KernRequestSharedMutex: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
Line 1: Line 1:
Request a mutex in shared mode. Multiple threads may own the lock. If a thread already owns the lock, then the calling thread will block uninteruptibly. The block id is the address of this mutex. Use [[KernTryRequestSharedMutex]] to attempt to acquire the mutexlock without blocking.
==Synopsis==
==Synopsis==
VOID APIENTRY KernRequestSharedMutex(KEEMutexLock* ml);
VOID APIENTRY KernRequestSharedMutex(KEEMutexLock* ml);
 
==Description==
Request a mutex in shared mode. Multiple threads may own the lock. If a thread already owns the lock, then the calling thread will block uninteruptibly. The block id is the address of this mutex. Use [[KernTryRequestSharedMutex]] to attempt to acquire the mutexlock without blocking.


==Parameters==
==Parameters==
'''ml:''' Pointer to a mutexlock structure.  
; ml : Pointer to a mutexlock structure.  


[[Category:KEE]]
[[Category:KEE]]

Revision as of 23:04, 9 June 2017

Request a mutex in shared mode. Multiple threads may own the lock. If a thread already owns the lock, then the calling thread will block uninteruptibly. The block id is the address of this mutex. Use KernTryRequestSharedMutex to attempt to acquire the mutexlock without blocking.

Synopsis

VOID APIENTRY KernRequestSharedMutex(KEEMutexLock* ml);

Parameters

ml
Pointer to a mutexlock structure.