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
Nested handlers #3
Conversation
@guicho271828 Actually, I don't use this library really often and can't be sure its quality high enough. |
alright. I use this library often, so that might be reasonable. |
BTW, do you have any idea implementing something like cl21.posix ? |
Okay, I'm going to transfer.
No ideas yet. |
removed mine. |
I requested to transfer. Approve it. |
the first 3 commits are the same as #2 .
The main contributions are:
*debugger-hook*
in condition system, but always superseded by signal-handler-bind)They required changes in the handler binding structure and how the bindings are applied.
For multithreading support, one-big-global-hash-table for all handlers are turned into dynamic thread-local bindings.
Also, when we implement nested handler bindings (based on nested special binding), making a hash-table for each nesting is space-inefficient. As a result, I used simple alist.