Lines Matching refs:rc
410 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex() local
411 if (rc != 0) { in ~Mutex()
412 errno = rc; in ~Mutex()
675 int rc = pthread_rwlock_destroy(&rwlock_); in ~ReaderWriterMutex()
676 if (rc != 0) { in ~ReaderWriterMutex()
677 errno = rc; in ~ReaderWriterMutex()
937 int rc = pthread_cond_destroy(&cond_); in ~ConditionVariable()
938 if (rc != 0) { in ~ConditionVariable()
939 errno = rc; in ~ConditionVariable()
1072 int rc; in TimedWait() local
1073 while ((rc = pthread_cond_timedwait(&cond_, &guard_.mutex_, &ts)) == EINTR) { in TimedWait()
1077 if (rc == ETIMEDOUT) { in TimedWait()
1079 } else if (rc != 0) { in TimedWait()
1080 errno = rc; in TimedWait()