-
-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stress-ng: re-work aggressive pid waiting to use stress_wait_pid
Make stress_wait_pid a little more generic with a waitpid flag and re-work the aggressive pid waiting loop to use this. Add a reaped flag to the stress_pid_t struct to indicate whether a process has been reaped using wait* to avoid redundant re-waiting on a reaped process. Signed-off-by: Colin Ian King <[email protected]>
- Loading branch information
1 parent
b249347
commit 76df244
Showing
2 changed files
with
97 additions
and
85 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