#include "spinlock.hpp"
◆ policy() [1/3]
template<size_t spins, bool use_pause = true>
template<class parenttype >
◆ policy() [2/3]
template<size_t spins, bool use_pause = true>
template<class parenttype >
◆ policy() [3/3]
template<size_t spins, bool use_pause = true>
template<class parenttype >
596 : parenttype(std::move(o))
597 {
598 }
◆ int_yield()
template<size_t spins, bool use_pause = true>
template<class parenttype >
600 {
601 if(parenttype::int_yield(n))
602 return true;
603 if(n >= spins)
604 return false;
605 detail::smt_pause<use_pause>();
606 return true;
607 }
◆ spins_to_loop
template<size_t spins, bool use_pause = true>
template<class parenttype >
The documentation for this struct was generated from the following file: