MCPcopy 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_waiterFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 4

cv_bmutex_waiterFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36