def threaded_quit(self, arg):
threading_list = threading.enumerate()<EOL>mythread =  threading.currentThread()<EOL>for t in threading_list:<EOL><INDENT>if t != mythread:<EOL><INDENT>ctype_async_raise(t, Mexcept.DebuggerQuit)<EOL>pass<EOL><DEDENT>pass<EOL><DEDENT>raise Mexcept.DebuggerQuit<EOL>
quit command when several threads are involved.