Re-enable %mean
hints in +mook
and refactor SIGINT handling
#222
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
%mean
hint processing in+mook
. They were disabled around November of last year when they caused issues with booting pills.%mean
hint processing in+mook
(variable name shadowing issue - we were using the wrongcell
var)signal_hook
crate for processing SIGINTs with a flag that was checked on Nock2
,9
, and11
. We nowmprotect()
the entireNockStack
memory arena onSIGINT
and gracefully recover from the resultingSIGSEGV
.Resolves #144 & #152
Note: I don't think that the double-tap case of
SIGINT
is being handled fully correctly right now, but it's difficult for me to check because of the machine from which I need to work on for now. Would appreciate whomever reviews this PR to play around with sendingSIGINT
s viaCtrl + C
and compare to the ergonomics of doing so in Vere. Otherwise, I'll get to it on April 1, once I have my regular work machine back in action.