3 ms·
std::quick_exit
by gpderetta 3y ago
std::quick_exit
- worstspotgain 3y agoSure, and on many systems there are platform-specific ways of terminating the process. However: - Executing static destructors without crashing is the ideal result. - On Mac, there are factors that make the thread-termination approach preferable, such as using cross-platform libraries or a framework like Qt. - On iOS, none of these apply, as process termination is out of your hands.