Suppose the following scenario: ;; starts with interrupt level zero. (parameterize ((current-interrupt-level 1)) ... ;; At this moment, another thread calls thread-interrupt! on this thread ...) ;; Will the interrupt thunk be called here?
Since current-interrupt-level is a thread parameter, it seems that we can't run the code when we exit parameterize, so I wonder how I can implement it if the answer is yes. --shiro