On Wed, Jul 25, 2012 at 09:59:28AM +0200, Michael Haubenwallner wrote: > OTOH, AFAICT, as long as a PID isn't waitpid()ed for, it isn't reused by > fork(). > However, I'm unable to find that in the POSIX spec.
A process that hasn't been waited for should become a zombie, which should be sufficient to prevent its PID being reused. Are you saying that AIX and Interix don't have zombies?