Skip to content

Commit bd2296c

Browse files
committed
Documented default_max_spin_count
1 parent b7013c6 commit bd2296c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provides/include/mcs_v1/synopsis.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ struct lock : Private::lock_t {
3131
/// Locks are not CopyAssignable.
3232
lock &operator=(const lock &) = delete;
3333

34+
/// Default maximum spin count before bailing out to atomic wait.
3435
static constexpr unsigned default_max_spin_count = 1000;
3536

3637
/// Acquires the lock. The `holder` must be allocated by the caller, kept

0 commit comments

Comments
 (0)