xgboost
类型定义 | 函数
xgboost::system 命名空间参考

类型定义

using SocketT = int
 

函数

std::int32_t LastError ()
 
collective::Result FailWithCode (std::string msg)
 
auto ThrowAtError (StringView fn_name, std::int32_t errsv=LastError())
 
std::int32_t CloseSocket (SocketT fd)
 
std::int32_t ShutdownSocket (SocketT fd)
 
bool ErrorWouldBlock (std::int32_t errsv) noexcept(true)
 
bool LastErrorWouldBlock ()
 
void SocketStartup ()
 
void SocketFinalize ()
 

类型定义文档

◆ SocketT

using xgboost::system::SocketT = typedef int

函数文档

◆ CloseSocket()

std::int32_t xgboost::system::CloseSocket ( SocketT  fd)
内联

◆ ErrorWouldBlock()

bool xgboost::system::ErrorWouldBlock ( std::int32_t  errsv)
内联noexcept

◆ FailWithCode()

collective::Result xgboost::system::FailWithCode ( std::string  msg)
内联

◆ LastError()

std::int32_t xgboost::system::LastError ( )
内联

◆ LastErrorWouldBlock()

bool xgboost::system::LastErrorWouldBlock ( )
内联

◆ ShutdownSocket()

std::int32_t xgboost::system::ShutdownSocket ( SocketT  fd)
内联

◆ SocketFinalize()

void xgboost::system::SocketFinalize ( )
内联

◆ SocketStartup()

void xgboost::system::SocketStartup ( )
内联

◆ ThrowAtError()

auto xgboost::system::ThrowAtError ( StringView  fn_name,
std::int32_t  errsv = LastError() 
)
内联