Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenshuo/muduo
/ ThreadLocal
Method
ThreadLocal
muduo/base/ThreadLocal.h:21–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
{
20
public:
21
ThreadLocal()
22
{
23
MCHECK(pthread_key_create(&pkey_, &ThreadLocal::destructor));
24
}
25
26
~ThreadLocal()
27
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected