.\" Automatically generated by Pandoc 3.1.11.1 .\" .TH "al_get_thread_should_stop" "3" "" "Allegro reference manual" "" .SH NAME al_get_thread_should_stop \- Allegro 5 API .SH SYNOPSIS .IP .EX #include bool al_get_thread_should_stop(ALLEGRO_THREAD *thread) .EE .SH DESCRIPTION Check if another thread is waiting for \f[CR]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(3) or al_set_thread_should_stop(3) on this thread. .SH SEE ALSO al_join_thread(3), al_set_thread_should_stop(3). .RS .PP \f[I]Note:\f[R] We don\[cq]t support forceful killing of threads. .RE