add PThreadMutex class.