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

Function rwlock_rdlock

src/bthread/rwlock.cpp:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static inline int rwlock_rdlock(bthread_rwlock_t* rwlock) {
77 return rwlock_rdlock_impl(rwlock, NULL);
78}
79
80static inline int rwlock_timedrdlock(bthread_rwlock_t* __restrict rwlock,
81 const struct timespec* __restrict abstime) {

Callers 1

bthread_rwlock_rdlockFunction · 0.85

Calls 1

rwlock_rdlock_implFunction · 0.85

Tested by

no test coverage detected