Skip to content

Commit

Permalink
Format spin_wait.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ispeters committed Oct 30, 2023
1 parent b8c1763 commit ee5bdee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/unifex/spin_wait.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
namespace unifex {

class spin_wait {
public:
public:
spin_wait() noexcept = default;

void wait() noexcept {
Expand All @@ -36,12 +36,12 @@ class spin_wait {
}
}

private:
private:
static constexpr std::uint32_t yield_threshold = 20;

std::uint32_t count_ = 0;
};

} // namespace unifex
} // namespace unifex

#include <unifex/detail/epilogue.hpp>

0 comments on commit ee5bdee

Please sign in to comment.