.\" Automatically generated by Pandoc 2.9.2.1 .\" .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[C]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