.\" Automatically generated by Pandoc 3.1.12.1 .\" .TH "al_unlock_mutex" "3" "" "Allegro reference manual" "" .SH NAME al_unlock_mutex \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] void al_unlock_mutex(ALLEGRO_MUTEX *mutex) .EE .SH DESCRIPTION Release the lock on \f[CR]mutex\f[R] if the calling thread holds the lock on it. .PP If the calling thread doesn\[cq]t hold the lock, or if the mutex is not locked, undefined behaviour results. .SH SEE ALSO al_lock_mutex(3).