MySQL 8.0.40
Source Code Documentation
net::linux_epoll_io_service::FdInterest Class Reference

#include <linux_epoll_io_service.h>

Classes

struct  locked_bucket
 

Public Member Functions

stdx::expected< void, std::error_code > merge (int epfd, native_handle_type fd, impl::socket::wait_type wt, bool oneshot)
 
stdx::expected< void, std::error_code > erase (int epfd, native_handle_type fd)
 
stdx::expected< void, std::error_code > remove_fd_interest (int epfd, native_handle_type fd, uint32_t revent)
 
stdx::expected< void, std::error_code > after_event_fired (int epfd, native_handle_type fd, uint32_t revent)
 update registered fd-interest after a oneshot event fired. More...
 
std::optional< int32_t > interest (native_handle_type fd) const
 

Private Member Functions

locked_bucketbucket (native_handle_type fd)
 
const locked_bucketbucket (native_handle_type fd) const
 

Private Attributes

std::array< locked_bucket, 101 > buckets_
 

Member Function Documentation

◆ after_event_fired()

stdx::expected< void, std::error_code > net::linux_epoll_io_service::FdInterest::after_event_fired ( int  epfd,
native_handle_type  fd,
uint32_t  revent 
)
inline

update registered fd-interest after a oneshot event fired.

◆ bucket() [1/2]

locked_bucket & net::linux_epoll_io_service::FdInterest::bucket ( native_handle_type  fd)
inlineprivate

◆ bucket() [2/2]

const locked_bucket & net::linux_epoll_io_service::FdInterest::bucket ( native_handle_type  fd) const
inlineprivate

◆ erase()

stdx::expected< void, std::error_code > net::linux_epoll_io_service::FdInterest::erase ( int  epfd,
native_handle_type  fd 
)
inline

◆ interest()

std::optional< int32_t > net::linux_epoll_io_service::FdInterest::interest ( native_handle_type  fd) const
inline

◆ merge()

stdx::expected< void, std::error_code > net::linux_epoll_io_service::FdInterest::merge ( int  epfd,
native_handle_type  fd,
impl::socket::wait_type  wt,
bool  oneshot 
)
inline

◆ remove_fd_interest()

stdx::expected< void, std::error_code > net::linux_epoll_io_service::FdInterest::remove_fd_interest ( int  epfd,
native_handle_type  fd,
uint32_t  revent 
)
inline

Member Data Documentation

◆ buckets_

std::array<locked_bucket, 101> net::linux_epoll_io_service::FdInterest::buckets_
private

The documentation for this class was generated from the following file: