MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / lock

Method lock

extern/boost/boost/thread/pthread/mutex.hpp:168–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166#endif
167#ifdef BOOST_THREAD_USES_PTHREAD_TIMEDLOCK
168 void lock()
169 {
170 int res = posix::pthread_mutex_lock(&m);
171 if (res)
172 {
173 boost::throw_exception(lock_error(res,"boost: mutex lock failed in pthread_mutex_lock"));
174 }
175 }
176
177 void unlock()
178 {

Callers 2

deactivateMethod · 0.45
BOOST_NOEXCEPT_IFMethod · 0.45

Calls 4

pthread_mutex_lockFunction · 0.85
lock_errorFunction · 0.85
pthread_cond_waitFunction · 0.85
throw_exceptionFunction · 0.50

Tested by

no test coverage detected