That's not really related to C++, it's just how operating systems work.