summaryrefslogtreecommitdiff
path: root/deps/jemalloc/test/include/test/mq.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/jemalloc/test/include/test/mq.h')
-rw-r--r--deps/jemalloc/test/include/test/mq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/jemalloc/test/include/test/mq.h b/deps/jemalloc/test/include/test/mq.h
index af2c078da..5dc6486c7 100644
--- a/deps/jemalloc/test/include/test/mq.h
+++ b/deps/jemalloc/test/include/test/mq.h
@@ -1,4 +1,4 @@
-void mq_nanosleep(unsigned ns);
+#include "test/sleep.h"
/*
* Simple templated message queue implementation that relies on only mutexes for
@@ -82,7 +82,7 @@ a_prefix##get(a_mq_type *mq) { \
\
ns = 1; \
while (true) { \
- mq_nanosleep(ns); \
+ sleep_ns(ns); \
msg = a_prefix##tryget(mq); \
if (msg != NULL) { \
return msg; \