1MUTEX_INIT(9) Mutex API reference MUTEX_INIT(9)
23
4
NAME
6mutex_init - initialize the mutex
7
SYNOPSIS
9mutex_init(mutex);
10
ARGUMENTS
12mutex
13the mutex to be initialized
14
DESCRIPTION
16Initialize the mutex to unlocked state.
1718
It is not allowed to initialize an already locked mutex.
19
AUTHOR
21Rusty Russell <rusty@rustcorp.com.au>
22Author.
23
COPYRIGHT
25Kernel Hackers Manual 3.10 June 2019 MUTEX_INIT(9)