al_join_thread(3)

al_join_thread3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_join_thread(ALLEGRO_THREAD *thread, void **ret_value)

Overview

Wait for the thread to finish executing. This implicitly calls al_set_thread_should_stop(3) first.

If ret_value is non-NULL, the value returned by the thread function will be stored at the location pointed to by ret_value.

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