proxygen
Futex-inl.h File Reference

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::detail
 

Functions

template<typename TargetClock , typename Clock , typename Duration >
TargetClock::time_point folly::detail::time_point_conv (std::chrono::time_point< Clock, Duration > const &time)
 
int folly::detail::futexWakeImpl (const Futex< std::atomic > *futex, int count, uint32_t wakeMask)
 
FutexResult folly::detail::futexWaitImpl (const Futex< std::atomic > *futex, uint32_t expected, std::chrono::system_clock::time_point const *absSystemTime, std::chrono::steady_clock::time_point const *absSteadyTime, uint32_t waitMask)
 
int folly::detail::futexWakeImpl (const Futex< EmulatedFutexAtomic > *futex, int count, uint32_t wakeMask)
 
FutexResult folly::detail::futexWaitImpl (const Futex< EmulatedFutexAtomic > *futex, uint32_t expected, std::chrono::system_clock::time_point const *absSystemTime, std::chrono::steady_clock::time_point const *absSteadyTime, uint32_t waitMask)
 
template<typename Futex , typename Deadline >
std::enable_if< Deadline::clock::is_steady, FutexResult >::type folly::detail::futexWaitImpl (Futex *futex, uint32_t expected, Deadline const &deadline, uint32_t waitMask)
 
template<typename Futex , typename Deadline >
std::enable_if<!Deadline::clock::is_steady, FutexResult >::type folly::detail::futexWaitImpl (Futex *futex, uint32_t expected, Deadline const &deadline, uint32_t waitMask)
 
template<typename Futex >
FutexResult folly::detail::futexWait (const Futex *futex, uint32_t expected, uint32_t waitMask)
 
template<typename Futex >
int folly::detail::futexWake (const Futex *futex, int count, uint32_t wakeMask)
 
template<typename Futex , class Clock , class Duration >
FutexResult folly::detail::futexWaitUntil (const Futex *futex, uint32_t expected, std::chrono::time_point< Clock, Duration > const &deadline, uint32_t waitMask)