al_create_mutex man page

al_create_mutex — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

ALLEGRO_MUTEX *al_create_mutex(void)

Description

Create the mutex object (a mutual exclusion device). The mutex may or may not support "recursive" locking.

Returns the mutex on success or NULL on error.

See Also

al_create_mutex_recursive(3).

Referenced By

al_create_mutex_recursive(3), al_lock_mutex(3).

Allegro reference manual