title: How to exit the entire application from a Python thread?
body: <p>How can I exit my entire Python application from one of its threads? <code>sys.exit()</code> only terminates the thread in which it is called, so that is no help.</p>
  <p>I would not like to use an <code>os.kill()</code> solution, as this isn't very clean.</p>