NNG_THREAD_DESTROY(3supp)

πŸ“¦ version 1.11, in alpine 3.24

✨ 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 🌈


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