Home | History | Annotate | Download | only in src

Lines Matching refs:ec

32     int ec = pthread_mutex_lock(&__m_);
33 if (ec)
34 __throw_system_error(ec, "mutex lock failed");
46 int ec = pthread_mutex_unlock(&__m_);
47 (void)ec;
48 assert(ec == 0);
56 int ec = pthread_mutexattr_init(&attr);
57 if (ec)
59 ec = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
60 if (ec)
65 ec = pthread_mutex_init(&__m_, &attr);
66 if (ec)
71 ec = pthread_mutexattr_destroy(&attr);
72 if (ec)
79 __throw_system_error(ec, "recursive_mutex constructor failed");
92 int ec = pthread_mutex_lock(&__m_);
93 if (ec)
94 __throw_system_error(ec, "recursive_mutex lock failed");