Skip to content

Commit

Permalink
Add tevent_libaio
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 committed Oct 21, 2023
1 parent b7f970c commit 7ce9ff6
Show file tree
Hide file tree
Showing 4 changed files with 863 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/tevent/tevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ static void tevent_backend_init(void)
tevent_poll_init();
tevent_poll_mt_init();
#if defined(HAVE_EPOLL)
tevent_epoll_init();
//tevent_epoll_init();
tevent_libaio_init();
#elif defined(HAVE_SOLARIS_PORTS)
tevent_port_init();
#elif defined(HAVE_KQUEUE)
Expand Down
4 changes: 2 additions & 2 deletions lib/tevent/tevent_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,8 @@ bool tevent_poll_event_add_fd_internal(struct tevent_context *ev,
struct tevent_fd *fde);
bool tevent_poll_mt_init(void);
#ifdef HAVE_EPOLL
bool tevent_epoll_init(void);
void tevent_epoll_set_panic_fallback(struct tevent_context *ev,
bool tevent_libaio_init(void);
void tevent_libaio_set_panic_fallback(struct tevent_context *ev,
bool (*panic_fallback)(struct tevent_context *ev,
bool replay));
#endif
Expand Down
Loading

0 comments on commit 7ce9ff6

Please sign in to comment.