ok thnx this seems easier
I don't think multi-threading is what you are looking for here. Code: void Loop() { do { AcceptInput(); DoSomething(); } while (SomeConditionExists); }
void Loop() { do { AcceptInput(); DoSomething(); } while (SomeConditionExists); }