Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1245
int bthread_mutex_lock(bthread_mutex_t* m) {
1246
return bthread_mutex_lock_impl(m, NULL);
1247
}
1248
1249
int bthread_mutex_timedlock(bthread_mutex_t* __restrict m,
1250
const struct timespec* __restrict abstime) {
Callers
15
lid_dtor
Function · 0.85
waiter
Function · 0.85
Signal
Method · 0.85
Wait
Method · 0.85
TEST_F
Function · 0.85
locker
Function · 0.85
TEST
Function · 0.85
Connect
Method · 0.85
SetConnected
Method · 0.85
SetRemoteConsumed
Method · 0.85
Wait
Method · 0.85
Close
Method · 0.85
Calls
1
bthread_mutex_lock_impl
Function · 0.85
Tested by
7
lid_dtor
Function · 0.68
waiter
Function · 0.68
Signal
Method · 0.68
Wait
Method · 0.68
TEST_F
Function · 0.68
locker
Function · 0.68
TEST
Function · 0.68