mgastner / cartogram-cpp

Cartogram generator in C++
MIT License
8 stars 4 forks source link

We should switch from `_Exit()` to `std::exit()` #171

Open adisidev opened 4 months ago

adisidev commented 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().

https://stackoverflow.com/questions/5422831/what-is-the-difference-between-using-exit-exit-in-a-conventional-linux-fo

adisidev commented 1 month ago

Might this be the reason that we still see Zombie processes some times?