Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cpp/guides/synchronization.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ The call `mu.LockWhen(Condition(f, arg))` is equivalent to

The variants `LockWhenWithTimeout()` and `AwaitWithTimeout()` allow a thread to
wait either for a condition to become true or for some time to elapse. They each
return `true` iff the condition is true:
return `true` if the condition is true:

```cpp
if (mu.LockWhenWithTimeout(Condition(f, &cond_expr), 1000 /*ms*/)) {
Expand Down