Allegro 5 api
#include <allegro5/allegro.h> void al_destroy_mutex(ALLEGRO_MUTEX *mutex)
Free the resources used by the mutex. The mutex should be unlocked. Destroying a locked mutex results in undefined behaviour.
Does nothing if mutex is NULL.