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/clock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/clock.h') diff --git a/src/core/clock.h b/src/core/clock.h index 3b607322..b369520b 100644 --- a/src/core/clock.h +++ b/src/core/clock.h @@ -1,5 +1,6 @@ // // Copyright 2017 Garrett D'Amore +// Copyright 2017 Capitar IT Group BV // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -14,6 +15,6 @@ extern nni_time nni_clock(void); -extern void nni_usleep(nni_duration usec); +extern void nni_msleep(nni_duration); #endif // CORE_CLOCK_H -- cgit v1.2.3-70-g09d2