al_create_mutex
ALLEGRO_MUTEX *al_create_mutex(void)
Introduced in 5.0.0
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.
Examples: ex_threads2
Most helpful discussions:
- Blacking out the display while resizing
- Allegro 5.0.10 memory leak?
- shows error when creating class DATA in Xcode for c project
- Probably a memory leak when forcing opengl on windows
- Simple C++ video player for non-photographic animation
- Android: Rotation issues and Soft keys
- Allegro 5 threads
- [A5] Threading a game
- The Community Needs You. New Tutorial (Threads)
- Allegro 5 Threading Interface