1. A system for stopping threads in a safe state in a run-time environment comprising: a plurality of application threads; and, a native code interpreter which is configured stop execution of an executing thread such that the thread is stopped in a safe state.