title: Thread not terminated while application is terminated under Delphi
body: <p>assume I have a thread which is still running when the application is terminating</p>
  
  <p>(This thread can not terminate because it waits for a Windows api call to return
  and that can be long...)</p>
  
  <p>What happens to the thread if the application is closed ? </p>
  
  <p><strong>Can it raise an exception</strong> (I'm under Delphi) ?</p>