xgboost
| 命名空间 | | 类型定义 | 函数
poll_utils.h 文件参考
#include <xgboost/collective/result.h>
#include <xgboost/collective/socket.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <unistd.h>
#include <cerrno>
#include <chrono>
#include <cstring>
#include <string>
#include <system_error>
#include <unordered_map>
#include <vector>
#include <poll.h>
poll_utils.h 的包含依赖图

转到此文件的源代码。

struct  rabit::utils::PollHelper
 执行 poll 的辅助数据结构 更多...
 

命名空间

 rabit
 
 rabit::utils
 

#define IS_MINGW()   defined(__MINGW32__)
 

类型定义

using SOCKET = int
 
using sock_size_t = size_t
 

函数

template<typename PollFD >
int rabit::utils::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::Resultrabit::utils::PollError (E const &revents)
 

宏定义文档

◆ IS_MINGW

#define IS_MINGW ( )    defined(__MINGW32__)

类型定义文档

◆ sock_size_t

using sock_size_t = size_t

◆ SOCKET

using SOCKET = int