summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-07-31 12:56:10 -0700
committerSean Christopherson <seanjc@google.com>2026-07-31 13:54:47 -0700
commit939b20e5f35eeeeaab15d6bb797bcdcda5315411 (patch)
treeea0430a881689471ca7de4079414dbc8eec0504d /include/linux
parentbc9143135bf328a61456c7eb60e97b5ffb15e96e (diff)
KVM: selftests: Add helper APIs to cancel+join pthreads
Deduplicate test code that does cancel()+join() on pthreads by adding a collection of syscall wrappers. The tests that asynchronously cancel pthreads, i.e. use PTHREAD_CANCEL_ASYNCHRONOUS, are particularly ugly, especially since it's not immediately obvious why those tests assert on the thread being CANCELED, whereas others do not. No functional change intended. Link: https://patch.msgid.link/20260731195612.2697986-11-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions