al_destroy_thread
void al_destroy_thread(ALLEGRO_THREAD *thread)
Introduced in 5.0.0
Free the resources used by a thread. Implicitly performs al_join_thread on the thread if it hasn't been done already.
Does nothing if thread is NULL.
See also: al_join_thread.
Examples: ex_native_filechooser, ex_threads, ex_threads2
Most helpful discussions:
- Random deadlocks playing WAV sounds (Windows, MSVC)
- shows error when creating class DATA in Xcode for c project
- (A5) random crash on al_detach_voice()
- al_draw_bitmap fails to run on threads other than the parent thread
- Pushing outside of a tile collision.
- Differences between al_run_detached_thread() and al_start_thread()
- Classes and Threads
- input responsiveness
- scrolling
- Allegro 5 Threading Interface