// globaler Bereich bool Running = false; int start() { if(!Running) { Running=true; //---- ... //---- Running=false; } return (0); }