qt_sinc_destroy(3)

πŸ“¦ version 1.22^20251007gitcedb1fc, in fedora 43, fedora 44

πŸ’– qt_sinc_destroy(3) β€” the libqthread cleanup page, bestie edition πŸ’–

okay so you've been out here making sincs (slay), waiting on them, submitting to them… and now it's time to say goodbye. this is the page for that. it's from libqthread, and it's giving "closing the tab on a finished group project" energy. no cap.


✨ NAME ✨

qt_sinc_destroy β€” deallocate and clean-up a sinc 🧹✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <qthread/sinc.h>

void
qt_sinc_destroy (qt_sinc_t *sinc);

void
qt_sinc_fini (qt_sinc_t *sinc);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen. these two functions both deallocate and clean-up a qt_sinc_t object. that's the whole vibe. they're the lil "and we're done here" moment for your sinc. πŸ’…

but bestie β€” they are not interchangeable, and this is the part you need to internalize fr fr:

  • qt_sinc_destroy() β€” this one is for sincs that were created with qt_sinc_create(). made it from scratch? destroy it. πŸ‘‘
  • qt_sinc_fini() β€” this one is for sincs that were initialized with qt_sinc_init(). set it up in place? fini it. 🌸

and the way that it's immediate? like, no waiting around, no graceful exit arc β€” the sinc is immediately destroyed and any internal memory associated with it is deallocated. boom. gone. main character exit, honestly. ✨

ngl the matching matters β€” destroy for create, fini for init. get it twisted and that's on you, not me. πŸ™ˆ

🌈 SEE ALSO 🌈

the whole sinc cinematic universe, as it should be:


libqthread Β· AUGUST 2012 β€” yeah this page is a vintage icon from way back, and it still ate. k that's the whole manual page, go forth and free your memory bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from