axl_bool vortex_mutex_create ( VortexMutex mutex_def  ) 

Allows to create a new mutex to protect critical sections to be executed by several threads at the same time.

To create a mutex you must:

 // declare a mutex 
 VortexMutex mutex;

 // init it 
 if (! vortex_mutex_create (&mutex)) {
    // failed to init mutex
 } 
 // mutex created

Parameters:
mutex_def A reference to the mutex to be initialized.
Returns:
axl_true if the function created the mutex, otherwise axl_false is returned.