MCPcopy Create free account
hub / github.com/RcppCore/RcppParallel / acquire_task_pool

Method acquire_task_pool

src/tbb/src/tbb/arena_slot.h:287–311  ·  view source on GitHub ↗

Locks the local task pool Garbles task_pool for the duration of the lock. Requires correctly set task_pool_ptr. ATTENTION: This method is mostly the same as generic_scheduler::lock_task_pool(), with a little different logic of slot state checks (slot is either locked or points to our task pool). Thus if either of them is changed, consider changing the counterpart as well. *

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

pauseMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected