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

Function OwnsThisThread

cpp/src/arrow/util/thread_pool.h:197–197  ·  view source on GitHub ↗

Return true if the thread from which this function is called is owned by this Executor. Returns false if this Executor does not support this property.

Source from the content-addressed store, hash-verified

195 // Return true if the thread from which this function is called is owned by this
196 // Executor. Returns false if this Executor does not support this property.
197 virtual bool OwnsThisThread() { return false; }
198
199 // Return true if this is the current executor being called
200 // n.b. this defaults to just calling OwnsThisThread

Callers 1

IsCurrentExecutorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected