Allegro 5 api
#include <allegro5/allegro.h> ALLEGRO_MUTEX *al_create_mutex(void)
Create the mutex object (a mutual exclusion device). The mutex may or may not support "recursive" locking.
Returns the mutex on success or NULL on error.
al_create_mutex_recursive(3alleg5).