This documentation is for version v1.7.1 of NNG, but the latest released version is v1.8.0. see the documentation for v1.8.0 for the most up-to-date information.

nng_mtx_free(3supp)

NAME

nng_mtx_free - free mutex

SYNOPSIS

#include <nng/nng.h>
#include <nng/supplemental/util/platform.h>

void nng_mtx_free(nng_mtx *mtx);

DESCRIPTION

The nng_mtx_free() function frees the mutex mtx. The mutex must not be locked when this function is called.

RETURN VALUES

None.

ERRORS

None.

SEE ALSO