-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use synchronous signal handling in container mode.
Inspired by Yelp/dumb-init#72. In container mode, we need to have a process that acts as PID 1 and forwards all signals to the actual benchmarked process (while at the same time waiting for this process to finish). We can do this with sigwait instead of asynchronous signal handlers, which is less and complex and avoids some signal handling problems.
- Loading branch information
1 parent
916416a
commit dc5d11a
Showing
2 changed files
with
63 additions
and
12 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