Re: OT: fork(): parent or child should run first?

Ian Campbell
2006-01-11T13:48:58Z

On Wed, 2006-01-11 at 14:25 +0100, Bernd Petrovitsch wrote:
> Then this leaves the race if an old pid is reused in a newly created
> process before the last instances of that pid is cleaned up.

The PID won't be available to be re-used until the signal handler has
called waitpid() on it?

Ian.

--
Ian Campbell
Current Noise: Sloth - Wishman

I understand why you're confused. You're thinking too much.
-- Carole Wallach.