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

A couple of minor issues with handle_signal function #203

Open
FedericoPonzi opened this issue Jan 28, 2020 · 0 comments
Open

A couple of minor issues with handle_signal function #203

FedericoPonzi opened this issue Jan 28, 2020 · 0 comments

Comments

@FedericoPonzi
Copy link

First of all I wanted to say that I really like this project: I've digged a bit in the code since I'm trying to write an init system myself, and have come up with a couple of questions:

  • The DEBUG macro, internally uses fprintf which is not async-singal-safe.
  • Since SIGCHILD are not queued, while the init is busy doing this child might die, and won't be collected until another SIGCHILD is received.
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

No branches or pull requests

1 participant