"Using pthreads sync mechanisms to solve a mutual exclusion problem and a deadlock problem"