About the pid of the process

后端 未结 7 1828
借酒劲吻你
借酒劲吻你 2020-12-11 14:39

I\'ve a somewhat silly question, if i have a series of processes that are created ... these are not necessarily some sort of inheritance, the pid of the processes have to be

7条回答
  •  生来不讨喜
    2020-12-11 14:54

    From your perspective they will be random. The system manages those numbers and assigns them as processes are created. A quick look at the PID's currently on my system shows that they are all divisible by 4...

提交回复
热议问题