qpool_destroy(3)

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

πŸ’– qpool_destroy(3) β€” the libqthread glow-up πŸ’–

okay bestie, gather round, because we're talking about qpool_destroy from libqthread and honestly? she's the cleanup queen we all need. ✨


πŸŽ€ NAME πŸŽ€

qpool_destroy β€” deallocate a distributed memory pool

like, she frees the whole pool. the WHOLE pool. no crumbs left. πŸ’…


🌸 SYNOPSIS 🌸

#include <qthread/qpool.h>

void
qpool_destroy (qpool *pool);

so you pull in the header, you hand her a qpool * named pool, and she takes it from there. no return value, no drama, just vibes. πŸ¦‹


✨ DESCRIPTION ✨

okay so here's the tea: this function deallocates the specified distributed memory pool. 🫧

and not just some of it β€” all memory associated with that pool goes bye-bye. even the memory that hadn't yet been returned to the pool. like, it didn't even come home yet and it's already gone. πŸ’€ iconic behaviour, honestly.

⚠️ real talk though: everything tied to that pool is GONE after this. she does not do partial. she does not do "maybe later." periodt.

πŸ‘‘ SEE ALSO πŸ‘‘

  • qpool_create(3) β€” when you need a pool to exist in the first place 🌱
  • qpool_alloc(3) β€” grabbing memory out of it πŸ’«
  • qpool_free(3) β€” giving memory back before the big finale πŸ”

and that's the whole page, bestie!! this one comes to you straight from libqthread, dated MAY 2009 β€” yes she's a vintage baddie and she still ate. πŸŒˆπŸ’œ

stay hydrated, destroy your pools responsibly, and i'll see you in the next manpage. mwah!! πŸŽ€πŸ«ΆπŸ’–

πŸ“¦ where this page comes from