Open adisidev opened 4 months ago
Further discussion: https://www.unix.com/programming/116721-difference-between-exit-_exit.html#:~:text=%22The%20basic%20difference%20between%20exit,kernel%20cleanup%20for%20the%20process.%22
TLDR; std::exit() does more cleanup than _Exit().
std::exit()
_Exit()
https://stackoverflow.com/questions/5422831/what-is-the-difference-between-using-exit-exit-in-a-conventional-linux-fo
Might this be the reason that we still see Zombie processes some times?
Further discussion: https://www.unix.com/programming/116721-difference-between-exit-_exit.html#:~:text=%22The%20basic%20difference%20between%20exit,kernel%20cleanup%20for%20the%20process.%22
TLDR;
std::exit()
does more cleanup than_Exit()
.https://stackoverflow.com/questions/5422831/what-is-the-difference-between-using-exit-exit-in-a-conventional-linux-fo