control thread is now a void function. no longer returns int.. difference between pthread and gen_thread.