al_get_thread_should_stop(3alleg5)

al_get_thread_should_stop3alleg5

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(3alleg5) or al_set_thread_should_stop(3alleg5) on this thread.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.