Blocks :
|
|
Blocks :
|
Process ids have a lifetime co-incident with the life of the process. Theoretically, the pid can be re-used immediately after process termination. To ensure that actions on a ProcessHandle act on the intended process, a value unique to the process should be included in the check for equality and checked on each action on the process. It has been suggested that the process start time can fulfill this need. Ref: http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-April/032883.html
|