MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
atomic_timed_wait.hpp 文件参考

MSTL带超时的原子等待机制 更多...

atomic_timed_wait.hpp 的引用(Include)关系图:

浏览该文件的源代码.

struct  timed_backoff_spin_policy
 带退避策略的定时自旋策略 更多...

函数

template<typename Clock, typename Dur>
bool futex_wait_until (const platform_wait_t *addr, platform_wait_t old, const time_point< Clock, Dur > &timeout)
 FUTEX定时等待函数
template<typename T, typename Func, typename Clock, typename Dur>
bool atomic_wait_address_until_v (const T *addr, T &&old, Func &&func, const time_point< Clock, Dur > &timeout) noexcept
 基于值的原子定时等待(绝对时间)
template<typename T, typename Pred, typename Clock, typename Dur>
bool atomic_wait_address_until (const T *addr, Pred pred, const time_point< Clock, Dur > &timeout) noexcept
 基于谓词的原子定时等待(绝对时间)
template<typename Pred, typename Clock, typename Dur>
bool atomic_wait_address_until (const platform_wait_t *addr, Pred pred, const time_point< Clock, Dur > &timeout) noexcept
 基于谓词的原子定时等待(绝对时间)
template<typename T, typename Func, typename Rep, typename Period>
bool atomic_wait_address_for_v (const T *addr, T &&old, Func &&func, const duration< Rep, Period > &rt) noexcept
 基于值的原子定时等待(相对时间)
template<typename T, typename Pred, typename Rep, typename Period>
bool atomic_wait_address_for (const T *addr, Pred pred, const duration< Rep, Period > &rt) noexcept
 基于谓词的原子定时等待(相对时间)
template<typename Pred, typename Rep, typename Period>
bool atomic_wait_address_for (const platform_wait_t *addr, Pred pred, const duration< Rep, Period > &rt) noexcept
 基于谓词的原子定时等待(相对时间)

详细描述

MSTL带超时的原子等待机制

此文件扩展了原子等待功能,支持带超时的等待操作。

在文件 atomic_timed_wait.hpp 中定义.