Skip to content

Commit 2cd5c53

Browse files
authored
Update for new thread join APIs (#90)
1 parent ab2120f commit 2cd5c53

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

source/s3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ void aws_s3_library_clean_up(void) {
126126
}
127127

128128
s_library_initialized = false;
129+
aws_thread_join_all_managed();
129130

130131
aws_hash_table_clean_up(&s_compute_platform_info_table);
131132
aws_unregister_log_subject_info_list(&s_s3_log_subject_list);

tests/s3_tester.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,12 +470,10 @@ void aws_s3_tester_clean_up(struct aws_s3_tester *tester) {
470470
aws_event_loop_group_release(tester->el_group);
471471
tester->el_group = NULL;
472472

473+
aws_s3_library_clean_up();
474+
473475
aws_condition_variable_clean_up(&tester->signal);
474476
aws_mutex_clean_up(&tester->synced_data.lock);
475-
476-
aws_global_thread_creator_shutdown_wait_for(10);
477-
478-
aws_s3_library_clean_up();
479477
}
480478

481479
void aws_s3_tester_lock_synced_data(struct aws_s3_tester *tester) {

0 commit comments

Comments
 (0)