Multiple ChoiceHard 45s
Executors and Schedulers Distinction
In the C++ executor model (P2300 std::execution), what is the role of a scheduler?
Options
- 1It owns a thread pool and executes submitted work synchronously on that pool's threads
- 2It is essentially a synonym for std::thread with a lighter-weight scheduling wrapper
- 3It is a factory of sender objects representing a lightweight handle to a source of execution
- 4It only provides blocking wait primitives and cannot represent unfinished senders at all
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.