Scroll to navigation

MUTEX_INIT(9) Mutex API reference MUTEX_INIT(9)

NAME

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@rustcorp.com.au>
Author.

COPYRIGHT

May 2018 Kernel Hackers Manual 3.16