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

alc.c has a recursive signal handler #7

Open
sqqqrly opened this issue Feb 17, 2014 · 1 comment
Open

alc.c has a recursive signal handler #7

sqqqrly opened this issue Feb 17, 2014 · 1 comment
Labels

Comments

@sqqqrly
Copy link
Owner

sqqqrly commented Feb 17, 2014

alc.c defines a function simulator(). It is used as a signal handler within alc.c. Simulator() itself can issue signals with itself as a handler. This is recursion. Does this make sense?

In order to define a signal handler, it must have this form:
void sighandlerName(int signum);

simulator() was modified to fit this definition. The recursion remains.

@sqqqrly sqqqrly added the bug label Feb 17, 2014
@sqqqrly
Copy link
Owner Author

sqqqrly commented Feb 17, 2014

bf_view.c also has recursive signal handler do_view().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant