MCPcopy Create free account
hub / github.com/apache/arrow / GetCurrentExecutor

Method GetCurrentExecutor

cpp/src/arrow/util/thread_pool.cc:112–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112SerialExecutor* SerialExecutor::GetCurrentExecutor() {
113 return GetSerialExecutorGlobalState()->current_executor;
114}
115
116bool SerialExecutor::IsCurrentExecutor() { return GetCurrentExecutor() == this; }
117

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected