HomeFreeBSD

thread_single: wait for P_STOPPED_SINGLE to pass

Description

thread_single: wait for P_STOPPED_SINGLE to pass

to avoid ALLPROC mode to try to race with any other single-threading
mode.

In collaboration with: pho
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D35310

Details

Provenance
kibAuthored on May 3 2022, 7:48 PM
Reviewer
markj
Differential Revision
D35310: Set of fixes for REAP_KILL_SUBTREE
Parents
rG02a2aacbe2c8: issignal(): ignore signals when process is single-threading for exit
Branches
Unknown
Tags
Unknown