xgboost
|
#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>
Go to the source code of this file.
Classes | |
struct | rabit::utils::PollHelper |
helper data structure to perform poll More... | |
Namespaces | |
rabit | |
rabit::utils | |
Macros | |
#define | IS_MINGW() defined(__MINGW32__) |
Typedefs | |
using | SOCKET = int |
using | sock_size_t = size_t |
Functions | |
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::Result > | rabit::utils::PollError (E const &revents) |
#define IS_MINGW | ( | ) | defined(__MINGW32__) |
using sock_size_t = size_t |
using SOCKET = int |