Skip to content

Commit

Permalink
Make sigcont_threaded use sys_gettid since gettid is still not define…
Browse files Browse the repository at this point in the history
…d in some toolchains
  • Loading branch information
rocallahan committed Jan 27, 2025
1 parent f79885c commit 02c0b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/sigcont_threaded.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ static void *child_process_extra_thread(__attribute__((unused)) void *extra_thre
sched_yield();

// Now, stop ourselves. We'll be unstopped by the parent process.
r = kill(gettid(), SIGSTOP);
r = kill(sys_gettid(), SIGSTOP);
test_assert(r == 0);

// Now allow self to exit, and the thread-group-leader can continue.
Expand Down

0 comments on commit 02c0b68

Please sign in to comment.