Searched refs:m_old_state (Results 1 – 1 of 1) sorted by relevance
119 int err = ::pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &m_old_state); in ScopedPThreadCancelDisabler()121 m_old_state = -1; in ScopedPThreadCancelDisabler()129 if (m_old_state != -1) in ~ScopedPThreadCancelDisabler()130 ::pthread_setcancelstate (m_old_state, 0); in ~ScopedPThreadCancelDisabler()133 int m_old_state; // Save the old cancelability state. member in ScopedPThreadCancelDisabler