Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 982 Bytes

nng_thread_destroy.3supp.adoc

File metadata and controls

46 lines (32 loc) · 982 Bytes

nng_thread_destroy(3supp)

NAME

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.

Important
Do not call this function from the thread function itself, or a deadlock will occur.

RETURN VALUES

None.

ERRORS

None.