This documentation is for version v1.7.3 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_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