mutex_init (9) - Linux Manuals

mutex_init: initialize the mutex

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 [at] rustcorp.com.au>

Author.

COPYRIGHT