al_destroy_mutex(3)

al_destroy_mutex3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_destroy_mutex(ALLEGRO_MUTEX *mutex)

Overview

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.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.