al_unlock_mutex
void al_unlock_mutex(ALLEGRO_MUTEX *mutex)
Introduced in 5.0.0
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.
See also: al_lock_mutex.
Examples: ex_threads2
Most helpful discussions:
- Allegro 5.2.1.1 released!
- Severe performance problems with a lot of bitmaps and subbitmaps.
- Controllers configuration
- Thread problem
- shows error when creating class DATA in Xcode for c project
- Simple C++ video player for non-photographic animation
- [A5] Need help with loading screens and multithreading
- Question regarding multithreading
- help with threads
- Multithreading Related Problems
Other recent discussions:
- Multithreading and events
- [A5] TTF Fonts not caching correctly?
- Threading Problems
- Allegro 5 threads
- Mac OS X Joystick Bug (A5)
- [A5] Threading a game
- [A5] al_create_display crashes under Windows if resolution is not supported
- [A5] simple multithread code acts weird
- The Community Needs You. New Tutorial (Threads)
- Slowness when drawing fonts