multi thread code using pthread library