al_destroy_mutex

void al_destroy_mutex(ALLEGRO_MUTEX *mutex)
Introduced in 5.0.0

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.


Most helpful discussions: