HomeFreeBSD

Add thread_run_flash() helper

Description

Add thread_run_flash() helper

It unsuspends single suspended thread, passed as the argument.
It is up to the caller to arrange the target thread to suspend later,
since the state of the process is not changed from stopped. In particular,
the unsuspended thread must not leave to userspace, since boundary code
is not prepared to this situation.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D29955

Details

Provenance
kibAuthored on Apr 24 2021, 11:47 AM
Reviewer
markj
Differential Revision
D29955: ptrace(PT_COREDUMP)
Parents
R10:15465a2c25cc: Add sleepq_remove_nested()
Branches
Unknown
Tags
Unknown