Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ native_handler
Method
native_handler
src/bthread/mutex.h:57–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
55
}
56
~Mutex() { CHECK_EQ(0, bthread_mutex_destroy(&_mutex)); }
57
native_handler_type native_handler() { return &_mutex; }
58
void lock() {
59
int ec = bthread_mutex_lock(&_mutex);
60
if (ec != 0) {
Callers
4
cv_bmutex_waiter
Function · 0.45
cv_bmutex_waiter_with_pred
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
4
cv_bmutex_waiter
Function · 0.36
cv_bmutex_waiter_with_pred
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36