nanomsg next generation NNG  
Home GitHub Documentation

This documentation is for version 0.8.0 of nng, but the latest released version is v1.10.0. see the documentation for v1.10.0 for the most up-to-date information.
nng_mtx_unlock(3supp)

SYNOPSIS

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

void nng_mtx_unlock(nng_mtx *mtx);

DESCRIPTION

The nng_mtx_unlock() reqlinquishes ownership of the mutex mtx that was previously acquired via nng_mtx_lock().

A mutex can only be unlocked by the thread that locked it. Attempting to unlock a mutex that is not owned by the caller will result in undefined behavior.

RETURN VALUES

None.

ERRORS

None.

NNG Reference Manual v0.8.0 © 2019 Staysail Systems, Inc, © 2018 Capitar IT Group BV
This document is supplied under the MIT License.
nanomsg™ and nng™ are trademarks of Garrett D'Amore.