We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7013c6 commit bd2296cCopy full SHA for bd2296c
provides/include/mcs_v1/synopsis.hpp
@@ -31,6 +31,7 @@ struct lock : Private::lock_t {
31
/// Locks are not CopyAssignable.
32
lock &operator=(const lock &) = delete;
33
34
+ /// Default maximum spin count before bailing out to atomic wait.
35
static constexpr unsigned default_max_spin_count = 1000;
36
37
/// Acquires the lock. The `holder` must be allocated by the caller, kept
0 commit comments