DOKK / manpages / debian 10 / allegro5-doc / al_destroy_mutex.3alleg5.en
al_destroy_mutex(3alleg5) al_destroy_mutex(3alleg5)

al_destroy_mutex - 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.

Allegro reference manual