Provided by: allegro5-doc_5.2.9.1+dfsg-1.1build4_all bug

NAME

       al_join_thread - Allegro 5 API

SYNOPSIS

              #include <allegro5/allegro.h>

              void al_join_thread(ALLEGRO_THREAD *thread, void **ret_value)

DESCRIPTION

       Wait for the thread to finish executing.  This implicitly calls al_set_thread_should_stop(3alleg5) first.

       If ret_value is non-NULL, the value returned by the thread function will be stored at the location point‐
       ed to by ret_value.

SEE ALSO

       al_set_thread_should_stop(3alleg5), al_get_thread_should_stop(3alleg5), al_destroy_thread(3alleg5).

Allegro reference manual                                                                 al_join_thread(3alleg5)