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

Function bthread_mutex_lock

src/bthread/mutex.cpp:1245–1247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243}
1244
1245int bthread_mutex_lock(bthread_mutex_t* m) {
1246 return bthread_mutex_lock_impl(m, NULL);
1247}
1248
1249int bthread_mutex_timedlock(bthread_mutex_t* __restrict m,
1250 const struct timespec* __restrict abstime) {

Callers 15

lid_dtorFunction · 0.85
waiterFunction · 0.85
SignalMethod · 0.85
WaitMethod · 0.85
TEST_FFunction · 0.85
lockerFunction · 0.85
TESTFunction · 0.85
ConnectMethod · 0.85
SetConnectedMethod · 0.85
SetRemoteConsumedMethod · 0.85
WaitMethod · 0.85
CloseMethod · 0.85

Calls 1

bthread_mutex_lock_implFunction · 0.85

Tested by 7

lid_dtorFunction · 0.68
waiterFunction · 0.68
SignalMethod · 0.68
WaitMethod · 0.68
TEST_FFunction · 0.68
lockerFunction · 0.68
TESTFunction · 0.68