Don't use thread.exit_prog(); set a global variable to stop other
thread
1 file changed