Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ Valid
Method
Valid
src/butil/thread_key.cpp:54–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
}
53
54
bool ThreadKey::Valid() const {
55
return _id != InvalidID && !KEY_UNUSED(_seq);
56
}
57
58
static void DestroyTlsData() {
59
if (!thread_key_tls_data) {
Callers
6
RemoveSpansBefore
Method · 0.80
FindSpans
Function · 0.80
ListSpans
Function · 0.80
thread_key_delete
Function · 0.80
thread_setspecific
Function · 0.80
thread_getspecific
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected