.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" 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_get_thread_should_stop" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_thread_should_stop - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_get_thread_should_stop(ALLEGRO_THREAD *thread) \f[R] .fi .SH DESCRIPTION .PP Check if another thread is waiting for \f[V]thread\f[R] to stop. Threads which run in a loop should check this periodically and act on it when convenient. .PP Returns true if another thread has called al_join_thread(3alleg5) or al_set_thread_should_stop(3alleg5) on this thread. .SH SEE ALSO .PP al_join_thread(3alleg5), al_set_thread_should_stop(3alleg5). .RS .PP \f[I]Note:\f[R] We don\[cq]t support forceful killing of threads. .RE