Skip to content

Commit

Permalink
wrap the kqueue function
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Nov 12, 2024
1 parent 4d0e12c commit 7b51b56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/bsd/kqueue_event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ struct aws_event_loop_vtable s_kqueue_vtable = {
.is_on_callers_thread = s_is_event_thread,
};

#ifdef AWS_ENABLE_KQUEUE
struct aws_event_loop *aws_event_loop_new_kqueue_with_options(
struct aws_allocator *alloc,
const struct aws_event_loop_options *options) {
Expand Down Expand Up @@ -291,6 +292,7 @@ struct aws_event_loop *aws_event_loop_new_kqueue_with_options(
}
return NULL;
}
#endif //AWS_ENABLE_KQUEUE

static void s_destroy(struct aws_event_loop *event_loop) {
AWS_LOGF_INFO(AWS_LS_IO_EVENT_LOOP, "id=%p: destroying event_loop", (void *)event_loop);
Expand Down

0 comments on commit 7b51b56

Please sign in to comment.