waiting strategies More...
#include <cstdint>
#include <x86intrin.h>
#include "attributes/common.hpp"
#include "attributes/performance_constraints.hpp"
#include "cpuid.hpp"
Go to the source code of this file.
Classes | |
struct | ein::mwaitx |
waiter using MONITORX/MWAITX for AMD More... | |
struct | ein::umwait |
waiter using UMONITOR/UMWAIT for Intel More... | |
struct | ein::spin |
spin waiter using PAUSE More... | |
Namespaces | |
namespace | ein |
Concepts | |
concept | ein::waiter |
some way to wait for a value to change | |
Functions | |
template<waiter W> | |
ein_flatten void | ein::wait_until (volatile auto *p, auto f) noexcept ein_blocking |
Wait until a predicate holds about a given memory location. | |
auto | ein::with_waiter (auto k) noexcept |
finds an appropriate waiter for the current CPU | |
waiting strategies
Definition in file wait.hpp.