xgboost
Classes | Functions
rabit::utils Namespace Reference

Classes

struct  PollHelper
 helper data structure to perform poll More...
 

Functions

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)
 

Function Documentation

◆ 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