.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_join_thread" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_join_thread - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_join_thread(ALLEGRO_THREAD *thread, void **ret_value) \f[R] .fi .SH DESCRIPTION .PP Wait for the thread to finish executing. This implicitly calls al_set_thread_should_stop(3alleg5) first. .PP If \f[V]ret_value\f[R] is non-\f[V]NULL\f[R], the value returned by the thread function will be stored at the location pointed to by \f[V]ret_value\f[R]. .SH SEE ALSO .PP al_set_thread_should_stop(3alleg5), al_get_thread_should_stop(3alleg5), al_destroy_thread(3alleg5).