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

rts.tests: Ensure sleeper running STOP handler before TERM handler #26

Closed
wants to merge 1 commit into from

Conversation

fumiyas
Copy link
Contributor

@fumiyas fumiyas commented May 4, 2015

When supervise do signal(killpid, SIGTERM) and then signal(killpid, SIGCONT), catch_sig(SIGTERM) can be finished before catch_sig(SIGCONT) in sleeper. With this patch, catch_sig(SIGCONT) can be started before catch_sig(SIGTERM).

This patch may resolve issue #25 "Intermittent test failure with CONT signal". But it is NOT the perfect resolution because catch_sig(SIGCONT) can be interrupted by catch_sig(SIGTERM) (e.g., confirmed on AIX 6.1).

@bruceg
Copy link
Owner

bruceg commented Sep 21, 2018

We are attempting a different solution in sleeper in pull #37.

@bruceg bruceg closed this Sep 21, 2018
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.

2 participants