al_destroy_mutex man page

al_destroy_mutex — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_destroy_mutex(ALLEGRO_MUTEX *mutex)

Description

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.

Info

Allegro reference manual