Skip to content

Commit

Permalink
ignore the setaffiinity error
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Mar 8, 2024
1 parent 60e6c80 commit da585c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/posix/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ int s_init_pthread_attr(size_t stack_size, int32_t cpu_id, pthread_attr_t *out_a

if (attr_return) {
AWS_LOGF_ERROR(AWS_LS_COMMON_THREAD, "pthread_attr_setaffinity_np() failed with %d.", attr_return);
return attr_return;
/* ignore the error */
}
}
#endif /* AWS_AFFINITY_METHOD == AWS_AFFINITY_METHOD_PTHREAD_ATTR */
Expand Down

0 comments on commit da585c4

Please sign in to comment.