KMD_Mutex
KMD_Mutex
kmd
1998 12-06
CLASS
KMD_Mutex - A keymaster supported mutex object
SYNOPSIS
A mutex is a mutual exclusion object. Only one process can have a lock at a
particular time. If a process tries to lock a locked
mutex, it will block until
the mutex is unlocked by the thread holding the lock.
PARENTS
| KMD_Resource |
public
|
| KMD_Sync |
public
|
CONSTRUCTOR
KMD_Mutex()
Call KMD_Mutex(KMD_Ident *out_key) with a dummy KMD_Ident.
KMD_Mutex(KMD_Ident *out_key)
Create a new KMD_Mutex resource.
KMD_Mutex(KMD_Ident in_key)
Use an existing KMD_Mutex as identified by in_key.
MEMBER FUNCTIONS
uint32 Lock()
Lock the mutex.
uint32 Unlock()
Release the mutex.