qpool_destroy(3)
π 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
- fedora 43: qthreads-devel 1.22^20251007gitcedb1fc-1.fc43 Β· BSD-3-Clause AND MIT AND dtoa
- fedora 44: qthreads-devel 1.22^20251007gitcedb1fc-2.fc44 Β· BSD-3-Clause AND MIT AND dtoa
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms