SYNOPSIS

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

DESCRIPTION

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

Does nothing if thread is NULL.

RELATED TO al_destroy_thread…

al_join_thread(3alleg5).