.added interface onStart() to make preprocess before execute thread body

.added interface onExit() to make postprocess after exited thread body