pid rollover?

Guy Harris guy at auspex.UUCP
Wed Feb 1 05:49:35 AEST 1989


>>	if (nextpid == 30000)
>>		nextpid = 1;
>
>	I belive that it sets nextpid to 100, at least it did on our BSD system.

And it doesn't on his (S5?) system.  Different systems do it
differently.  (Actually, the S5R3 code sets "nextpid" - actually, "mpid"
- to 0, but if process ID 0 isn't already in use something rather
strange has happened on your system....)



More information about the Comp.unix.wizards mailing list