Skip to content

Commit

Permalink
Fix invalid cpu_id for RHEL_5 (#1106)
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 authored Apr 22, 2024
1 parent 70b8fcd commit 5038bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/thread_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static int s_test_thread_creation_join_invalid_cpu_id_fn(struct aws_allocator *a

struct aws_thread_options thread_options = *aws_default_thread_options();
/* invalid cpu_id. Ensure that the cpu_id is best-effort based. */
thread_options.cpu_id = 4096;
thread_options.cpu_id = 512;

ASSERT_SUCCESS(
aws_thread_launch(&thread, s_thread_fn, (void *)&test_data, &thread_options), "thread creation failed");
Expand Down

0 comments on commit 5038bc1

Please sign in to comment.