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

Method GetCurrentExecutor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected