Commit to add pthread mutex