MySQL  8.0.23
Source Code Documentation
net::impl::epoll Namespace Reference

Enumerations

enum  Cmd { Cmd::add = EPOLL_CTL_ADD, Cmd::del = EPOLL_CTL_DEL, Cmd::mod = EPOLL_CTL_MOD }
 

Functions

template<class Func >
auto uninterruptable (Func &&f)
 
stdx::expected< int, std::error_code > create ()
 
stdx::expected< void, std::error_code > ctl (int epfd, Cmd cmd, int fd, epoll_event *ev)
 
stdx::expected< size_t, std::error_code > wait (int epfd, epoll_event *fd_events, size_t num_fd_events, std::chrono::milliseconds timeout)
 

Enumeration Type Documentation

◆ Cmd

enum net::impl::epoll::Cmd
strong
Enumerator
add 
del 
mod 

Function Documentation

◆ create()

stdx::expected<int, std::error_code> net::impl::epoll::create ( )
inline

◆ ctl()

stdx::expected<void, std::error_code> net::impl::epoll::ctl ( int  epfd,
Cmd  cmd,
int  fd,
epoll_event *  ev 
)
inline

◆ uninterruptable()

template<class Func >
auto net::impl::epoll::uninterruptable ( Func &&  f)
inline

◆ wait()

stdx::expected<size_t, std::error_code> net::impl::epoll::wait ( int  epfd,
epoll_event *  fd_events,
size_t  num_fd_events,
std::chrono::milliseconds  timeout 
)
inline