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

Function bthread_rwlock_trywrlock

src/bthread/rwlock.cpp:355–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355int bthread_rwlock_trywrlock(bthread_rwlock_t* rwlock) {
356 return bthread::rwlock_trywrlock(rwlock);
357}
358
359int bthread_rwlock_timedwrlock(bthread_rwlock_t* __restrict rwlock,
360 const struct timespec* __restrict abstime) {

Callers 3

do_trywrlockFunction · 0.85
TESTFunction · 0.85
try_wrlockMethod · 0.85

Calls 1

rwlock_trywrlockFunction · 0.85

Tested by 2

do_trywrlockFunction · 0.68
TESTFunction · 0.68