summaryrefslogtreecommitdiff
path: root/perf/c/remote_thr.c
diff options
context:
space:
mode:
Diffstat (limited to 'perf/c/remote_thr.c')
-rw-r--r--perf/c/remote_thr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/perf/c/remote_thr.c b/perf/c/remote_thr.c
index 9606d00..3069640 100644
--- a/perf/c/remote_thr.c
+++ b/perf/c/remote_thr.c
@@ -20,7 +20,6 @@
#include <zmq.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
#include <assert.h>
int main (int argc, char *argv [])
@@ -61,7 +60,7 @@ int main (int argc, char *argv [])
assert (rc == 0);
}
- sleep (10);
+ zmq_sleep (10);
rc = zmq_close (s);
assert (rc == 0);