From 4e668fdd5b5da0d46f97d835249dbe5f0ea319a7 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 19 Oct 2017 15:16:25 -0700 Subject: fixes #84 Consider using msec for durations There is now a public nng_duration type. We have also updated the zerotier work to work with the signed int64_t's that the latst ZeroTier dev branch is using. --- src/core/platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/platform.h') diff --git a/src/core/platform.h b/src/core/platform.h index 8b709e93..bff7f709 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -153,8 +153,8 @@ extern void nni_plat_thr_fini(nni_plat_thr *); // of using negative values for other purposes in the future.) extern nni_time nni_plat_clock(void); -// nni_plat_usleep sleeps for the specified number of microseconds (at least). -extern void nni_plat_usleep(nni_duration); +// nni_plat_sleep sleeps for the specified number of milliseconds (at least). +extern void nni_plat_sleep(nni_duration); // // Entropy Support -- cgit v1.2.3-70-g09d2