MySQL 9.0.0
Source Code Documentation
linux_epoll.h File Reference
#include "my_config.h"
#include <chrono>
#include <system_error>
#include <sys/epoll.h>
#include "mysql/harness/net_ts/impl/socket_error.h"
#include "mysql/harness/stdx/expected.h"

Go to the source code of this file.

Namespaces

namespace  net
 
namespace  net::impl
 
namespace  net::impl::epoll
 

Enumerations

enum class  net::impl::epoll::Cmd { net::impl::epoll::add = EPOLL_CTL_ADD , net::impl::epoll::del = EPOLL_CTL_DEL , net::impl::epoll::mod = EPOLL_CTL_MOD }
 

Functions

template<class Func >
auto net::impl::epoll::uninterruptable (Func &&f)
 
stdx::expected< int, std::error_code > net::impl::epoll::create ()
 
stdx::expected< void, std::error_code > net::impl::epoll::ctl (int epfd, Cmd cmd, int fd, epoll_event *ev)
 
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)