add pthread mutex to SY1527