Skip to content

Commit

Permalink
Merge branch 'grand_dispatch_queue' of https://github.com/awslabs/aws…
Browse files Browse the repository at this point in the history
…-c-io into nw_socket_pull_dispatch_queue
  • Loading branch information
xiazhvera committed Sep 26, 2024
2 parents 435a70d + a55f14f commit acc5be1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions source/event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,14 +482,6 @@ size_t aws_event_loop_get_load_factor(struct aws_event_loop *event_loop) {
return aws_atomic_load_int(&event_loop->current_load_factor);
}

// As dispatch queue has ARC support, we could directly release the dispatch queue event loop. Disable the
// caller thread validation on dispatch queue.
#ifndef AWS_USE_DISPATCH_QUEUE
# define AWS_EVENT_LOOP_NOT_CALLER_THREAD(eventloop) AWS_ASSERT(!aws_event_loop_thread_is_callers_thread(eventloop));
#else
# define AWS_EVENT_LOOP_NOT_CALLER_THREAD(eventloop)
#endif

void aws_event_loop_destroy(struct aws_event_loop *event_loop) {
if (!event_loop) {
return;
Expand Down

0 comments on commit acc5be1

Please sign in to comment.