#include <nng/nng.h> #include <nng/supplemental/util/platform.h> void nng_thread_destroy(nng_thread *thread);
|This documentation is for the TIP (development tree) of NNG and may represent unreleased changes or functionality that is experimental, and is subject to change before release. The latest released version is v1.3.2. See the documentation for v1.3.2 for the most up-to-date information.|
nng_thread_destroy - reap thread
nng_thread_destroy() function reaps the thread.
It waits for the thread function to return, and then deallocates
the resources for the thread.
|Do not call this function from the thread function itself, or a deadlock will occur.|