#include <nng/nng.h>
#include <nng/supplemental/util/platform.h>
void nng_thread_set_name(nng_thread *thread, const char *name);
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.8.0. See the documentation for v1.8.0 for the most up-to-date information. |
nng_thread_set_name(3supp)
NAME
nng_thread_set_name - set thread name
SYNOPSIS
DESCRIPTION
The nng_thread_set_name()
function attempts to set the name for the thread to name.
If thread is NULL
, then the name is set for the current thread.
Support for this, and how names are exposed, varies between platform implementations. This function is intended to facilitate debugging applications that may have many threads.
Internal threads created by NNG will have names beginning with nng: .
|
RETURN VALUES
None.
ERRORS
None.