On Sun, 10 Apr 2022, Henry Rich wrote:
Killing a thread is going to be a problem. What do you do with the values the thread was using? They will never be freed. You can't just free all the memory the thread allocated, because some of it may be values now being used by other threads.
I find it plausible this could be made to work given fastidious shadow stack maintenance. It would also be convenient for interactive use, as ^C currently cannot always interrupt long-running computations.
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
