mutex_init(9)
mutex_init – initialize the mutex
Synopsis
mutex_init(mutex);
Arguments
mutex
- the mutex to be initialized
Description
Initialize the mutex to unlocked state.
It is not allowed to initialize an already locked mutex.
Author
Rusty Russell <rusty [at] rustcorp.com.au>
- Author.