MCPcopy 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
342int bthread_rwlock_tryrdlock(bthread_rwlock_t* rwlock) {
343 return bthread::rwlock_tryrdlock(rwlock);
344}
345
346int bthread_rwlock_timedrdlock(bthread_rwlock_t* __restrict rwlock,
347 const struct timespec* __restrict abstime) {

Callers 3

do_tryrdlockFunction · 0.85
TESTFunction · 0.85
try_rdlockMethod · 0.85

Calls 1

rwlock_tryrdlockFunction · 0.85

Tested by 2

do_tryrdlockFunction · 0.68
TESTFunction · 0.68