33 Execution control library [exec]

33.12 Execution contexts [exec.ctx]

33.12.1 execution​::​run_loop [exec.run.loop]

33.12.1.3 Constructor and destructor [exec.run.loop.ctor]

run_loop() noexcept;
Postconditions: The run_loop instance's count is 0 and its state is starting.
~run_loop();
Effects: If the run_loop instance's count is not 0 or if its state is running, invokes terminate ([except.terminate]).
Otherwise, has no effects.