From df5d82eac85525f0b8db23dbc01802f66dc4f6e2 Mon Sep 17 00:00:00 2001 From: PaintDream Date: Fri, 6 Dec 2024 17:53:46 +0800 Subject: [PATCH] [DOC] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 047487f..dceb5b7 100644 --- a/README.md +++ b/README.md @@ -355,7 +355,7 @@ It is a common case that a thread has to be blocked to wait for some signals arr ```C++ while (some_variable.load(std::memory_order_acquire) != expected_value) { // delay at most 20ms or poll tasks with priority 0 if possible - worker.poll_delay(0, 20); + worker.poll_delay(0, std::chrono::milliseconds(20)); } ```