al_destroy_cond(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

✨ NAME ✨

al_destroy_cond β€” Allegro 5 API πŸ’–

okay so this is al_destroy_cond(3), bestie, and yes β€” it lives in the Library Functions Manual. We're talking Allegro 5 API business, and it's lowkey a tiny page. Let's get into it πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro5/allegro.h>

void al_destroy_cond(ALLEGRO_COND *cond)

that's the whole vibe: include the header, call the function, pass your ALLEGRO_COND *cond 🫢


πŸ’… DESCRIPTION πŸ’…

Destroy a condition variable. That's it. That's the whole job, bestie ✨

⚠️ important warning, no cap: destroying a condition variable which has threads block on it results in undefined behaviour. Like… do not do that. That's the scary one 😭

Does nothing if cond is NULL. So if cond is NULL, this function is literally just vibing and doing absolutely nothing πŸ™ˆπŸ’€


that's the whole page, bestie β€” brought to you by the Allegro reference manual, for al_destroy_cond(3) πŸ’œπŸŽ€

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms