--- trunk/gadget/interruptinterface.cc 2015/10/13 11:29:01 16 +++ trunk/gadget/interruptinterface.cc 2015/11/09 10:22:57 17 @@ -4,7 +4,7 @@ #include "gadget.h" extern Ecosystem* EcoSystem; - +extern volatile int interrupted; #ifdef _OPENMP extern Ecosystem** EcoSystems; #endif @@ -31,7 +31,7 @@ } int InterruptInterface::menu() { - + interrupted = 0; char userinput[MaxStrLength]; char interruptfile[MaxStrLength]; strncpy(userinput, "", MaxStrLength);