Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ OwnsThisThread
Method
OwnsThisThread
cpp/src/arrow/util/thread_pool.cc:251–254 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
249
}
250
251
bool SerialExecutor::OwnsThisThread() {
252
std::lock_guard lk(state_->mutex);
253
return std::this_thread::get_id() == state_->current_thread;
254
}
255
#ifdef ARROW_ENABLE_THREADING
256
257
void SerialExecutor::RunLoop() {
Callers
1
TEST_F
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.64