title: How PID (Process Indentifier) is generated in kernel-mode under Windows?
body: <p>I would like to know how Process Identifier(s) (aka PID)s are generated under Windows. Is it unique across different machines? e.g., consider the 5856 id that's currently assigned to my Firefox program. Is it same for the same executable image under another machine?</p>