#include "absl/synchronization/internal/futex_waiter.h"
#ifdef ABSL_INTERNAL_HAVE_FUTEX_WAITER
#include <atomic>
#include <cstdint>
#include <cerrno>
#include "absl/base/config.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/internal/thread_identity.h"
#include "absl/base/optimization.h"
#include "absl/synchronization/internal/kernel_timeout.h"
#include "absl/synchronization/internal/futex.h"
namespace absl {
ABSL_NAMESPACE_BEGIN
namespace synchronization_internal {
#ifdef ABSL_INTERNAL_NEED_REDUNDANT_CONSTEXPR_DECL
constexpr char FutexWaiter::kName[];
#endif
int FutexWaiter::WaitUntil(std::atomic<int32_t>* v, int32_t val,
KernelTimeout t) { … }
bool FutexWaiter::Wait(KernelTimeout t) { … }
void FutexWaiter::Post() { … }
void FutexWaiter::Poke() { … }
}
ABSL_NAMESPACE_END
}
#endif