Skip to content

Commit

Permalink
just not windows
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Jan 23, 2025
1 parent 387f53f commit 1c3f598
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,9 @@ void aws_common_library_init(struct aws_allocator *allocator) {
} else {
AWS_LOGF_INFO(AWS_LS_COMMON_GENERAL, "static: libnuma.so failed to load");
}
#endif

#ifndef AWS_OS_WINDOWS
if (pthread_atfork(aws_pthread_atfork_on_fork_prepare, NULL, NULL) != 0) {
AWS_LOGF_INFO(AWS_LS_COMMON_GENERAL, "static: failed to register pthread at fork");
}
Expand Down

0 comments on commit 1c3f598

Please sign in to comment.