NNG_THREAD_DESTROY(3supp)
β¨ NAME β¨
okay bestie, this is the page for nng_thread_destroy from the NNG Reference Manual β it's NNG_THREAD_DESTROY(3supp), and the whole vibe is literally reap thread π
nng_thread_destroyβ reap thread π§Ή
π¦ SYNOPSIS π¦
#include <nng/nng.h>
void nng_thread_destroy(nng_thread *thread);
πΈ DESCRIPTION πΈ
The nng_thread_destroy() function reaps the thread. It waits for the thread function to return, and then deallocates the resources for the thread. cleanup queen behavior, honestly π
β οΈ Important: do not call this function from the thread function itself, or a deadlock will occur. like, fr fr, do not do it ππ
π RETURN VALUES π
None. literally nothing returned, bestie π«Ά
π ERRORS π
None. zero errors listed on this page β¨
π SEE ALSO π
nng_thread_create(3supp)β see also, bestie π«Άnng(7)β see also, main character energy π
okay that's the whole page β kisses from the NNG Reference Manual, page NNG_THREAD_DESTROY(3supp), dated 2026-01-13 ππβ¨
π¦ where this page comes from
- alpine 3.24: nng-doc 1.11-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms