I guess it’s possible that the computation opens a file for reading and the file is assumed to never change.
But in general, the solution is painfully keep track of what resources are in use and free them in the signal handler
I guess it’s possible that the computation opens a file for reading and the file is assumed to never change.
But in general, the solution is painfully keep track of what resources are in use and free them in the signal handler