Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Oct 25, 2024
1 parent 2aafe5f commit ada3e09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/aws/io/event_loop.h
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ AWS_IO_API
void aws_event_loop_group_release(struct aws_event_loop_group *el_group);

/**
* Return the event loop style.
* Return the event loop style.
*/
AWS_IO_API
enum aws_event_loop_style aws_event_loop_group_get_style(struct aws_event_loop_group *el_group);
Expand Down
6 changes: 3 additions & 3 deletions include/aws/io/private/dispatch_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ struct secure_transport_ctx {
};

struct dispatch_scheduling_state {
/**
/**
* Let's us skip processing an iteration task if one is already in the middle of executing
*/
*/
bool is_executing_iteration;

/**
* List<scheduled_service_entry> in sorted order by timestamp
*
* When we go to schedule a new iteration, we check here first to see
* if our scheduling attempt is redundant
* if our scheduling attempt is redundant
*/
struct aws_linked_list scheduled_services;
};
Expand Down
4 changes: 2 additions & 2 deletions source/darwin/dispatch_queue_event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ static void s_schedule_task_common(struct aws_event_loop *event_loop, struct aws
*/

if (is_empty && !dispatch_loop->synced_data.scheduling_state.is_executing_iteration) {
/** If there is no currently running iteration, then we check if we have already scheduled an iteration scheduled
* before this task's run time. */
/** If there is no currently running iteration, then we check if we have already scheduled an iteration
* scheduled before this task's run time. */
should_schedule =
should_schedule_iteration(&dispatch_loop->synced_data.scheduling_state.scheduled_services, run_at_nanos);
}
Expand Down

0 comments on commit ada3e09

Please sign in to comment.