pthread mutex commented