#include "spinlock.hpp"
◆ policy() [1/3]
template<size_t spins> 
template<class parenttype > 
 
 
◆ policy() [2/3]
template<size_t spins> 
template<class parenttype > 
 
 
◆ policy() [3/3]
template<size_t spins> 
template<class parenttype > 
 
  619          : parenttype(std::move(o))
  620      {
  621      }
 
 
 
◆ int_yield()
template<size_t spins> 
template<class parenttype > 
 
  623      {
  624        if(parenttype::int_yield(n))
  625          return true;
  626        if(n >= spins)
  627          return false;
  628        this_thread::yield();
  629        return true;
  630      }
 
 
 
◆ spins_to_yield
template<size_t spins> 
template<class parenttype > 
 
 
The documentation for this struct was generated from the following file: