Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ set_ptr
Method
set_ptr
test/thread_local_unittest.cc:58–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
virtual ~GetThreadLocal() {}
57
58
void set_ptr(ThreadLocalTesterBase** ptr) { ptr_ = ptr; }
59
60
virtual void Run() OVERRIDE {
61
DCHECK(!done_->IsSignaled());
Callers
1
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected