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

Function get_stack_base

src/tbb/src/tbb/governor.cpp:154–193  ·  view source on GitHub ↗

There is no portable way to get stack base address in Posix, however the modern Linux versions provide pthread_attr_np API that can be used to obtain thread's stack size and base address. Unfortunately even this function does not provide enough information for the main thread on IA-64 architecture (RSE spill area and memory stack are allocated as two separate discontinuous chunks

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

init_external_threadMethod · 0.85

Calls 1

suppress_unused_warningFunction · 0.50

Tested by

no test coverage detected