Pthread mutex example. If the mutex is not available, thread2 returns immed...