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_msleep(3supp)

NAME

nng_msleep - sleep milliseconds

SYNOPSIS

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

void nng_msleep(nng_duration msec);

DESCRIPTION

The nng_msleep() blocks the caller for at least msec milliseconds.

This function may block for longer than requested. The actual wait time is determined by the capabilities of the underlying system.

RETURN VALUES

None.

ERRORS

None.

SEE ALSO