Skip to content

Commit

Permalink
[DOC] Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paintdream authored Dec 6, 2024
1 parent a3d9f1a commit df5d82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
```

0 comments on commit df5d82e

Please sign in to comment.