Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catch slow sigcont #36

Closed
wants to merge 1 commit into from
Closed

catch slow sigcont #36

wants to merge 1 commit into from

Conversation

snakpak
Copy link
Contributor

@snakpak snakpak commented Aug 19, 2018

Another solution to issue #25, the so-called "missing CONT" failure in svc and supervise-stop tests. The problem is that during 'svc -d', sleeper expects SIGCONT to arrive soon enough to interrupt the earlier SIGTERM handler before it hits the exit, which doesn't always happen.

This patch works by flagging TERM and CONT signals instead, then returning back to main to decide what to do. Details in sleeper.c comments.

@snakpak
Copy link
Contributor Author

snakpak commented Aug 20, 2018

Closing this since it's based on an imaginary signal delivery model.

@snakpak snakpak closed this Aug 20, 2018
@snakpak snakpak deleted the slow-sigcont branch August 26, 2018 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant