Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
355
int bthread_rwlock_trywrlock(bthread_rwlock_t* rwlock) {
356
return bthread::rwlock_trywrlock(rwlock);
357
}
358
359
int bthread_rwlock_timedwrlock(bthread_rwlock_t* __restrict rwlock,
360
const struct timespec* __restrict abstime) {
Callers
3
do_trywrlock
Function · 0.85
TEST
Function · 0.85
try_wrlock
Method · 0.85
Calls
1
rwlock_trywrlock
Function · 0.85
Tested by
2
do_trywrlock
Function · 0.68
TEST
Function · 0.68