Doug Rixmann <firstname.lastname@example.org> wrote:
I have a network of 7+ nodes. Each node is running virutally the same
programs yet the pids of the processes are much different in the ranges
that they are assigned. In one case, the process ids are between
1000-2000 but on another node, 4000-5000 and yet another node
What is the mechanism by which process ids are assigned?
They’re generally handed out to processes as the start up. If your
startup order is different, timing different, or whatever, different
processes could get different pids.
You should NOT be depending on a process to have a particular pid.
QNX Training Services
I do not answer technical questions by email.