aboutsummaryrefslogtreecommitdiffhomepage
path: root/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/bench_queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bench_queue.cpp b/benchmark/bench_queue.cpp
index 0d4911729..6f7cf20bc 100644
--- a/benchmark/bench_queue.cpp
+++ b/benchmark/bench_queue.cpp
@@ -51,7 +51,7 @@ class Backoff {
if (cnt < 50) {
return true;
} else {
- td::this_thread::yield();
+ td::usleep_for(1);
return cnt < 500;
}
}