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

Function pthread_mutex_lock

src/bthread/mutex.cpp:1309–1311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1307}
1308
1309int pthread_mutex_lock(pthread_mutex_t* mutex) {
1310 return bthread::pthread_mutex_lock_impl(mutex);
1311}
1312
1313#if defined(OS_LINUX) && defined(OS_POSIX) && defined(__USE_XOPEN2K)
1314int pthread_mutex_timedlock(pthread_mutex_t *__restrict __mutex,

Callers 15

mainFunction · 0.85
mainFunction · 0.85
push_threadFunction · 0.85
pop_threadFunction · 0.85
TESTFunction · 0.85
BeforeRecycleFunction · 0.85
OnEdgeTriggeredEventOnceFunction · 0.85
TEST_FFunction · 0.85
read_threadFunction · 0.85
TESTFunction · 0.85
OnFailedMethod · 0.85

Calls 1

pthread_mutex_lock_implFunction · 0.85

Tested by 8

push_threadFunction · 0.68
pop_threadFunction · 0.68
TESTFunction · 0.68
BeforeRecycleFunction · 0.68
OnEdgeTriggeredEventOnceFunction · 0.68
TEST_FFunction · 0.68
read_threadFunction · 0.68
TESTFunction · 0.68