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

Method GetCurrentExecutor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected