1MUTEX_INIT(9)                 Mutex API reference                MUTEX_INIT(9)
2
3
4

NAME

6       mutex_init - initialize the mutex
7

SYNOPSIS

9       mutex_init(mutex);
10

ARGUMENTS

12       mutex
13           the mutex to be initialized
14

DESCRIPTION

16       Initialize the mutex to unlocked state.
17
18       It is not allowed to initialize an already locked mutex.
19

AUTHOR

21       Rusty Russell <rusty@rustcorp.com.au>
22           Author.
23
25Kernel Hackers Manual 3.10         June 2019                     MUTEX_INIT(9)
Impressum