PatchworkOS
Loading...
Searching...
No Matches
mutex_t Struct Reference

Mutex structure. More...

#include <mutex.h>

Data Fields

wait_queue_t waitQueue
 
thread_towner
 
uint32_t depth
 
lock_t lock
 

Detailed Description

Mutex structure.

Definition at line 38 of file mutex.h.

Field Documentation

◆ depth

uint32_t mutex_t::depth

Definition at line 42 of file mutex.h.

Referenced by mutex_acquire_timeout(), mutex_init(), and mutex_release().

◆ lock

lock_t mutex_t::lock

Definition at line 43 of file mutex.h.

Referenced by mutex_acquire_timeout(), mutex_init(), and mutex_release().

◆ owner

thread_t* mutex_t::owner

Definition at line 41 of file mutex.h.

Referenced by mutex_acquire_timeout(), mutex_deinit(), mutex_init(), and mutex_release().

◆ waitQueue

wait_queue_t mutex_t::waitQueue

Definition at line 40 of file mutex.h.

Referenced by mutex_acquire_timeout(), mutex_deinit(), mutex_init(), and mutex_release().


The documentation for this struct was generated from the following file: