SDL_DestroyCondition(3)

πŸ’– SDL_DestroyCondition πŸ’–

okay bestie, welcome to the SDL3 FUNCTIONS section of the manual, and today's main character is SDL_DestroyCondition β€” she's here to clean up your condition variables and she is not subtle about it ✨


🌸 NAME 🌸

SDL_DestroyCondition β€” destroy a condition variable, fr fr. bye bye girlie πŸ‘‹


πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_mutex.h>

void SDL_DestroyCondition(SDL_Condition *cond);

πŸ¦‹ FUNCTION PARAMETERS πŸ¦‹

  • cond β€” the condition variable you wanna destroy. like, the one you're sending to the shadow realm. that one πŸ’…

✨ THREAD SAFETY ✨

It is safe to call this function from any thread. ANY THREAD. no cap. you can roll up from wherever you are and she'll handle it 😌


πŸ’œ AVAILABILITY πŸ’œ

This function is available since SDL 3.2.0. so if you're on something older... bestie, it's giving ancient. upgrade 🫢


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole vibe!! Simple Directmedia Layer, SDL 3.4.18, mwah πŸ’‹ go forth and free your condition variables responsibly, i love you, bye πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from