diff options
Diffstat (limited to 'perf/cpp/local_lat.cpp')
-rw-r--r-- | perf/cpp/local_lat.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perf/cpp/local_lat.cpp b/perf/cpp/local_lat.cpp index 343ca74..d8fee2e 100644 --- a/perf/cpp/local_lat.cpp +++ b/perf/cpp/local_lat.cpp @@ -20,7 +20,6 @@ #include <zmq.hpp> #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <assert.h> #include <stddef.h> @@ -47,7 +46,7 @@ int main (int argc, char *argv []) s.send (msg); } - sleep (1); + zmq_sleep (1); return 0; } |