title: How to get thread execution complete event
body: <p>I am creating a new thread to call a function in it.</p>
  
  <pre><code>Thread th = new Thread(My_Function);
  th.start();
  </code></pre>
  
  <p>I wanna do something on completion of this thread execution.</p>
  
  <p>Is there any way of doing this ?</p>