Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ bthread_rwlock_wrlock
Function
bthread_rwlock_wrlock
src/bthread/rwlock.cpp:351–353 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
349
}
350
351
int bthread_rwlock_wrlock(bthread_rwlock_t* rwlock) {
352
return bthread::rwlock_wrlock(rwlock);
353
}
354
355
int bthread_rwlock_trywrlock(bthread_rwlock_t* rwlock) {
356
return bthread::rwlock_trywrlock(rwlock);
Callers
7
wrlocker
Function · 0.85
TEST
Function · 0.85
write_op
Function · 0.85
add_with_mutex
Function · 0.85
wrlock
Method · 0.85
RWLockWrGuard
Method · 0.85
lock_guard
Method · 0.85
Calls
1
rwlock_wrlock
Function · 0.85
Tested by
4
wrlocker
Function · 0.68
TEST
Function · 0.68
write_op
Function · 0.68
add_with_mutex
Function · 0.68