My deepest appreciation to Bluejay Adametz, Dan Price, and Dr. Tom for their
replies. The answer I was looking for appears below.
> But what is the numerical range of values for PIDs (zero through ??????)
> for each node and at what point do they start over?
Beats me. I'm not even sure it's predictable -- after all, there
are some security exploits that depend on PID number being very
predictable -- I think we deliberately randomize them, but I'd
have to go read things like process creation code to be sure.
You can assume a PID will fit in an "int" (32 bits) and I believe
the representation assures that the value never exceeds 31 bits,
and you can infer that from the definition I pointed you to. So
I believe the upper bound is 2 to the 32nd power less 1.
Tom
Received on Fri Aug 09 2002 - 16:58:33 NZST