add the homework code,about pthread_join and pthread mutex.