On 15/09/2019 21:02, Marc Balmer wrote:
Doesn‘t exit clear all resources on posix systems?

Don't assume that exit would ever be called.
Code used in some RTOS, such as RTEMS, everything runs as a thread and thus cannot call exit. In this case, at the natural programs exit, resources need to be cleaned up manually, as exit is the equivalent of shutdown.

Roy

Reply via email to