Jump to content

KernRequestSharedMutex: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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'' (KEEMutexLock*) - input : Pointer to a mutexlock structure.  
 


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

Latest revision as of 03:43, 28 May 2025

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 (KEEMutexLock*) - input
Pointer to a mutexlock structure.