in addition to what anda_skoa said, having the calling thread wait for your thread to end by blocking it, makes having the thread redundant.