26#ifndef MYSQL_HARNESS_NET_TS_IMPL_KQUEUE_H_ 
   27#define MYSQL_HARNESS_NET_TS_IMPL_KQUEUE_H_ 
   33#include <system_error> 
   55    int kedf, 
const struct kevent *changelist, 
int nchanges,
 
   56    struct kevent *eventlist, 
int nevents, 
const struct timespec *
timeout) {
 
   57  int res = ::kevent(kedf, changelist, nchanges, eventlist, nevents, 
timeout);
 
   67                                                const struct kevent *changelist,
 
   69  return kqueue::kevent(kedf, changelist, nchanges, 
nullptr, 0, 
nullptr);
 
   73    int kedf, 
struct kevent *eventlist, 
int nevents,
 
   74    const struct timespec *
timeout) {
 
   75  return kqueue::kevent(kedf, 
nullptr, 0, eventlist, nevents, 
timeout);
 
Definition: expected.h:286
Definition: http_server_component.cc:34
static bool timeout(bool(*wait_condition)())
Timeout function.
Definition: log0meb.cc:498
static int wait(mysql_cond_t *that, mysql_mutex_t *mutex_arg, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:62
static mysql_service_status_t create(my_h_string *) noexcept
Definition: mysql_string_all_empty.cc:43
stdx::expected< void, std::error_code > ctl(int epfd, Cmd cmd, int fd, epoll_event *ev)
Definition: linux_epoll.h:71
std::error_code last_error_code()
get last std::error_code for socket-errors.
Definition: socket_error.h:107
unexpected(E) -> unexpected< E >