Home
last modified time | relevance | path

Searched refs:g_contextMap (Results 1 – 1 of 1) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/
Dbacktrace_local_context.cpp40 static std::map<int32_t, std::shared_ptr<ThreadContext>> g_contextMap; variable
54 auto it = g_contextMap.find(tid); in GetContextLocked()
55 if (it == g_contextMap.end() || it->second == nullptr) { in GetContextLocked()
57 g_contextMap[tid] = threadContext; in GetContextLocked()
85 auto it = g_contextMap.find(tid); in RemoveContextLocked()
86 if (it == g_contextMap.end()) { in RemoveContextLocked()
91 g_contextMap.erase(it); in RemoveContextLocked()
137 auto it = g_contextMap.find(tid); in ReleaseThread()
138 if (it == g_contextMap.end() || it->second == nullptr) { in ReleaseThread()
148 auto it = g_contextMap.begin(); in CleanUp()
[all …]