Skip to content

Exit code and stack size reporting

Compare
Choose a tag to compare
@dok-net dok-net released this 15 Jul 14:51

Additionally, a task that exits automatically has its call stack deleted to conserve heap space.
Using return to finish a task is the preferred method, using exit() prevents proper stack unwinding, which
among other things breaks the RAII idiom.