xgboost
| 函数
rabit::utils 命名空间参考

结构体  PollHelper
 用于执行 poll 的辅助数据结构 更多...
 

函数

template<typename PollFD >
int PollImpl (PollFD *pfd, int nfds, std::chrono::seconds timeout) noexcept(true)
 
template<typename E >
std::enable_if_t< std::is_integral_v< E >, xgboost::collective::ResultPollError (E const &revents)
 

函数文档

◆ PollError()

template<typename E >
std::enable_if_t<std::is_integral_v<E>, xgboost::collective::Result> rabit::utils::PollError ( E const &  revents)

◆ PollImpl()

template<typename PollFD >
int rabit::utils::PollImpl ( PollFD *  pfd,
int  nfds,
std::chrono::seconds  timeout 
)
noexcept