libfoedus-core
FOEDUS Core Library
spin_until_impl.hpp File Reference
Include dependency graph for spin_until_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 foedus
 Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
 
 foedus::assorted
 Assorted Methods/Classes that are too subtle to have their own packages.
 

Functions

bool foedus::assorted::is_running_on_valgrind ()
 
template<typename COND >
uint64_t foedus::assorted::spin_until (COND spin_until_cond)
 Spin locally until the given condition returns true. More...
 
void foedus::assorted::yield_if_valgrind ()
 Use this in your while as a stop-gap before switching to spin_until(). More...