#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>
597 {
598 }
How many spins to loop, optionally calling the SMT pause instruction on Intel.
Definition spinlock.hpp:589
◆ int_yield()
template<size_t spins, bool use_pause = true>
template<class parenttype>
600 {
602 return true;
604 return false;
606 return true;
607 }
void smt_pause() noexcept
Definition spinlock.hpp:579
◆ 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: