al_unlock_mutex(3)

al_unlock_mutex3

Allegro 5 api

Usage

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

Overview

Release the lock on mutex if the calling thread holds the lock on it.

If the calling thread doesn’t hold the lock, or if the mutex is not locked, undefined behaviour results.

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