Skip to content

Commit

Permalink
Merge branch 'grand_dispatch_queue' of github.com:awslabs/aws-c-io in…
Browse files Browse the repository at this point in the history
…to nw_socket
  • Loading branch information
xiazhvera committed Nov 12, 2024
2 parents 1637a88 + 7d20796 commit 658463a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ elseif (APPLE)
)

file(GLOB AWS_IO_OS_SRC
"source/bsd/*.c"
"source/posix/*.c"
"source/darwin/*.c"
)

Expand All @@ -128,11 +130,6 @@ elseif (APPLE)

# Enable KQUEUE on MacOS
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
file(GLOB AWS_IO_KUEUE_SRC
"source/bsd/*.c"
"source/posix/*.c"
)
list(APPEND AWS_IO_OS_SRC ${AWS_IO_KUEUE_SRC})
list(APPEND EVENT_LOOP_DEFINES "KQUEUE")
endif()

Expand Down
2 changes: 1 addition & 1 deletion source/bsd/kqueue_event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ struct aws_event_loop *aws_event_loop_new_kqueue_with_options(
}
return NULL;
}
#endif //AWS_ENABLE_KQUEUE
#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 658463a

Please sign in to comment.