Go to the source code of this file.
◆ kmutex
A mutex to be used for synchronization purposes. A mutex (or mutual exclusion) is used to limit access to a resource when there are multiple threads of execution around that resource. 
 
 
◆ kmutex_create()
Creates a mutex. 
- Parameters
- 
  
    | out_mutex | A pointer to hold the created mutex. |  
 
- Returns
- True if created successfully; otherwise false. 
 
 
◆ kmutex_destroy()
Destroys the provided mutex. 
- Parameters
- 
  
    | mutex | A pointer to the mutex to be destroyed. |  
 
 
 
◆ kmutex_lock()
Creates a mutex lock. 
- Parameters
- 
  
    | mutex | A pointer to the mutex. |  
 
- Returns
- True if locked successfully; otherwise false. 
 
 
◆ kmutex_unlock()
Unlocks the given mutex. 
- Parameters
- 
  
    | mutex | The mutex to unlock. |  
 
- Returns
- True if unlocked successfully; otherwise false.