]>
git.proxmox.com Git - rustc.git/blob - src/jemalloc/test/src/mq.c
1 #include "test/jemalloc_test.h"
4 * Sleep for approximately ns nanoseconds. No lower *nor* upper bound on sleep
8 mq_nanosleep(unsigned ns
)
11 assert(ns
<= 1000*1000*1000);
17 struct timespec timeout
;
19 if (ns
< 1000*1000*1000) {
26 nanosleep(&timeout
, NULL
);