MCPcopy Create free account
hub / github.com/apache/brpc / pthread_mutex_timedlock_impl

Function pthread_mutex_timedlock_impl

src/bthread/mutex.cpp:982–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980
981#if HAS_PTHREAD_MUTEX_TIMEDLOCK
982BUTIL_FORCE_INLINE int pthread_mutex_timedlock_impl(pthread_mutex_t* mutex,
983 const struct timespec* abstime) {
984 return internal::pthread_mutex_lock_impl(mutex, abstime);
985}
986#endif // HAS_PTHREAD_MUTEX_TIMEDLOCK
987
988BUTIL_FORCE_INLINE int pthread_mutex_unlock_impl(pthread_mutex_t* mutex) {

Callers 1

pthread_mutex_timedlockFunction · 0.85

Calls 1

pthread_mutex_lock_implFunction · 0.85

Tested by

no test coverage detected