MOS Source Code
Loading...
Searching...
No Matches
mutex.c File Reference
+ Include dependency graph for mutex.c:

Go to the source code of this file.

Macros

#define futex_wait(futex, val)
 
#define futex_wake(futex, val)
 

Functions

void mutex_acquire (mutex_t *m)
 
void mutex_release (mutex_t *m)
 

Macro Definition Documentation

◆ futex_wait

#define futex_wait ( futex,
val )
Value:
syscall_futex_wait(futex, val)
should_inline bool syscall_futex_wait(futex_word_t *futex, u32 val)
Definition usermode.h:101

Definition at line 9 of file mutex.c.

Referenced by futex_wait(), and mutex_acquire().

◆ futex_wake

#define futex_wake ( futex,
val )
Value:
syscall_futex_wake(futex, val)
should_inline bool syscall_futex_wake(futex_word_t *futex, size_t count)
Definition usermode.h:106

Definition at line 10 of file mutex.c.

Referenced by futex_wake(), and mutex_release().

Function Documentation

◆ mutex_acquire()

void mutex_acquire ( mutex_t * m)

Definition at line 17 of file mutex.c.

◆ mutex_release()

void mutex_release ( mutex_t * m)

Definition at line 31 of file mutex.c.