I am creating a new thread to call a function in it.

```
Thread th = new Thread(My_Function);
th.start();

```

I wanna do something on completion of this thread execution.

Is there any way of doing this ?