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

Method RTasks

r/src/RTasks.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace r {
22
23RTasks::RTasks(bool use_threads)
24 : use_threads_(use_threads),
25 stop_source_(),
26 parallel_tasks_(use_threads
27 ? arrow::internal::TaskGroup::MakeThreaded(
28 arrow::internal::GetCpuThreadPool(), stop_source_.token())
29 : nullptr) {}
30
31Status RTasks::Finish() {
32 Status status = Status::OK();

Callers

nothing calls this directly

Calls 2

GetCpuThreadPoolFunction · 0.85
tokenMethod · 0.80

Tested by

no test coverage detected