DOKK / manpages / debian 10 / allegro5-doc / al_destroy_thread.3alleg5.en
al_destroy_thread(3alleg5) al_destroy_thread(3alleg5)

al_destroy_thread - Allegro 5 API

#include <allegro5/allegro.h>
void al_destroy_thread(ALLEGRO_THREAD *thread)
    

Free the resources used by a thread. Implicitly performs al_join_thread(3alleg5) on the thread if it hasn't been done already.

Does nothing if thread is NULL.

al_join_thread(3alleg5).

Allegro reference manual