Consider storing task_arena settings in r1::arena object only
Author: isaevilCreated Aug 21, 2026Updated Aug 21, 2026
PR #2160 attempted to fix some inconsistencies in `task_arena` construction caused essentially by the fact that arena settings are decoupled between `task_arena` and its corresponding internal representation `r1::arena`. In current design, the settings has to be in sync and duplicated. However, `task_arena` basically follows PIMPL idiom (actual logic is implemented in `r1::arena`), hence it might make sense to actually store all the settings inside `r1::arena` and provide certain accessors for `task_arena` to use (requires new entry points). It will also result in layout changes of `task_arena`.
Source: uxlfoundation/oneTBB