15 int err = ::pthread_rwlock_init(&
m_rwlock,
nullptr);
20 int err = ::pthread_rwlock_destroy(&
m_rwlock);
35 return ::pthread_rwlock_unlock(&
m_rwlock) == 0;
48 if (::pthread_rwlock_trywrlock(&
m_rwlock) == 0) {
A class that represents a running process on the host machine.