al_join_thread - Man Page

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(3) first.

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

See Also

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

Referenced By

al_create_thread(3), al_create_thread_with_stacksize(3), al_destroy_thread(3), al_get_thread_should_stop(3), al_run_detached_thread(3), al_set_thread_should_stop(3).

Allegro reference manual