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

Method CurrentRef

src/butil/threading/platform_thread_posix.cc:167–169  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

165
166// static
167PlatformThreadRef PlatformThread::CurrentRef() {
168 return PlatformThreadRef(pthread_self());
169}
170
171// static
172PlatformThreadHandle PlatformThread::CurrentHandle() {

Callers

nothing calls this directly

Calls 1

PlatformThreadRefClass · 0.85

Tested by

no test coverage detected