The Wayback Machine - https://web.archive.org/web/20220422155405/https://github.com/libuv/libuv/pull/3485
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

signal: reset signal counters after fork (#3483) #3485

Open
wants to merge 2 commits into
base: v1.x
Choose a base branch
from

Conversation

Copy link

@SmorkalovG SmorkalovG commented Feb 16, 2022

If a signal was received but was not dispatched before fork then
caught_signals counter should be reset. Closing of signal pipe makes
imposible to receive the signal that was counted.
There is no need in this signal because it was sent to parent process
See full description in issue #3483
#3483

If a signal was received but was not dispatched before fork then
caught_signals counter should be reset. Closing of signal pipe makes
imposible to receive the signal that was counted.
There is no need in this signal because it was sent to parent process
test/test-fork.c Show resolved Hide resolved
@SmorkalovG
Copy link
Author

@SmorkalovG SmorkalovG commented Mar 11, 2022

Is there anything I can do with this PR? Any improvements?

@stale
Copy link

@stale stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants