os: document the Process.Pid field #36726
Labels
Documentation
Issues describing a change to documentation.
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
As discussed in https://groups.google.com/forum/#!topic/golang-nuts/ievQGPz1R7k, https://golang.org/cl/4029053 dropped the documentation for the
Pid
field.I also propose to extend the documentation with something like:
The reason is that on UNIX systems,
Release
setPid
to -1, but not on Windows.This means that a program can not check if
Pid
== -1 to determine if the process has been released.The alternative is to change the Windows implementation.
The text was updated successfully, but these errors were encountered: