pthread: Reimplement mutexes, CVs, and RW locks (XCC)