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.