[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ctrl-C & error handling

From: Jaroslav Hajek
Subject: Ctrl-C & error handling
Date: Sun, 29 Mar 2009 11:52:54 +0200


is there any possibility for an m-function to implement a custom
cleanup when Ctrl-C is detected? unwind_protect does not seem to catch
The problem is that if a function manipulates system resources in a
non-trivial manner, like parcellfun from the general package, it is
not easy to manually clean up (parcellfun interrupted by Ctrl-C leaves
hanging processes in the memory).


RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]