.\" 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_run_detached_thread" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_run_detached_thread - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_run_detached_thread(void *(*proc)(void *arg), void *arg) \f[R] .fi .SH DESCRIPTION .PP Runs the passed function in its own thread, with \f[V]arg\f[R] passed to it as only parameter. This is similar to calling al_create_thread(3alleg5), al_start_thread(3alleg5) and (after the thread has finished) al_destroy_thread(3alleg5) - but you don\[cq]t have the possibility of ever calling al_join_thread(3alleg5) on the thread.