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:253–256 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
251
}
252
253
bool SerialExecutor::OwnsThisThread() {
254
std::lock_guard lk(state_->mutex);
255
return std::this_thread::get_id() == state_->current_thread;
256
}
257
#ifdef ARROW_ENABLE_THREADING
258
259
void SerialExecutor::RunLoop() {
Callers
1
TEST_F
Function · 0.80
Calls
1
GetCurrentThreadPool
Function · 0.85
Tested by
1
TEST_F
Function · 0.64