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

Function rwlock_wrlock

src/bthread/rwlock.cpp:222–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220#undef SUBMIT_CSITE_IF_NEED
221
222static inline int rwlock_wrlock(bthread_rwlock_t* rwlock) {
223 return rwlock_wrlock_impl(rwlock, NULL);
224}
225
226static inline int rwlock_timedwrlock(bthread_rwlock_t* __restrict rwlock,
227 const struct timespec* __restrict abstime) {

Callers 1

bthread_rwlock_wrlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected