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

Function bthread_rwlock_timedrdlock

src/bthread/rwlock.cpp:346–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346int bthread_rwlock_timedrdlock(bthread_rwlock_t* __restrict rwlock,
347 const struct timespec* __restrict abstime) {
348 return bthread::rwlock_timedrdlock(rwlock, abstime);
349}
350
351int bthread_rwlock_wrlock(bthread_rwlock_t* rwlock) {
352 return bthread::rwlock_wrlock(rwlock);

Callers 2

do_timedrdlockFunction · 0.85
timed_rdlockMethod · 0.85

Calls 1

rwlock_timedrdlockFunction · 0.85

Tested by 1

do_timedrdlockFunction · 0.68