Thread Barrier

Thread handler.