al_get_thread_should_stop(3)

al_get_thread_should_stop3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
bool al_get_thread_should_stop(ALLEGRO_THREAD *thread)

Overview

Check if another thread is waiting for thread to stop. Threads which run in a loop should check this periodically and act on it when convenient.

Returns true if another thread has called al_join_thread(3) or al_set_thread_should_stop(3) on this thread.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.