-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vmspace: add interfaces stop/resume all procs
stop_vmspace_proc() and resume_vmspace_proc() respectively stop and resume all processes but curproc associated with the vmspace of a given process. Functionally this the same a (stop|resume)_all_proc() except that it walks the vmspace process list rather than allproc. For each process use a new thread_single(SINGLE_VMSPACE) which acts like SINGLE_BOUNDRY except that like SINGLE_ALLPROC it suspends all threads in the process and does not expect proc to be curproc.
- Loading branch information
1 parent
0340fc6
commit fdb9c4b
Showing
3 changed files
with
132 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters