al_destroy_thread man page

al_destroy_thread — Allegro 5 API

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(3) on the thread if it hasn't been done already.

Does nothing if thread is NULL.

See Also

al_join_thread(3).

Referenced By

al_join_thread(3), al_run_detached_thread(3).

Allegro reference manual