MCPcopy Create free account
hub / github.com/apache/impala / SetParentInfo

Method SetParentInfo

be/src/common/thread-debug-info.h:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 }
92
93 void SetParentInfo(const ThreadDebugInfo* parent) {
94 if (parent == nullptr) return;
95 parent_.system_thread_id_ = parent->system_thread_id_;
96 strings::strlcpy(parent_.thread_name_, parent->thread_name_, THREAD_NAME_SIZE);
97 query_id_ = parent->query_id_;
98 instance_id_ = parent->instance_id_;
99 }
100
101private:
102 /// Initializes a thread local pointer with thread_debug_info.

Callers 1

SuperviseThreadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected