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

March 2017 Kernel Hackers Manual 4.10