Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ bthread_rwlock_tryrdlock
Function
bthread_rwlock_tryrdlock
src/bthread/rwlock.cpp:342–344 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
340
}
341
342
int bthread_rwlock_tryrdlock(bthread_rwlock_t* rwlock) {
343
return bthread::rwlock_tryrdlock(rwlock);
344
}
345
346
int bthread_rwlock_timedrdlock(bthread_rwlock_t* __restrict rwlock,
347
const struct timespec* __restrict abstime) {
Callers
3
do_tryrdlock
Function · 0.85
TEST
Function · 0.85
try_rdlock
Method · 0.85
Calls
1
rwlock_tryrdlock
Function · 0.85
Tested by
2
do_tryrdlock
Function · 0.68
TEST
Function · 0.68