Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syscall: Getpid support on Windows #3379

Closed
gopherbot opened this issue Mar 23, 2012 · 5 comments
Closed

syscall: Getpid support on Windows #3379

gopherbot opened this issue Mar 23, 2012 · 5 comments

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Mar 23, 2012

by Bond.Dmitry:

What steps will reproduce the problem?
1. Call os.Getpid

What is the expected output?
Process id of the caller

What do you see instead?
-1

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g, 8g

Which operating system are you using?
Windows 7

Which revision are you using?  (hg identify)
bce220d03774 weekly/weekly.2012-03-22

Please provide any additional information below.
@minux
Copy link
Member

@minux minux commented Mar 24, 2012

Comment 1:

Labels changed: added os-windows.

Owner changed to @minux.

Status changed to Accepted.

@minux
Copy link
Member

@minux minux commented Mar 24, 2012

Comment 2:

http://golang.org/cl/5909043/

Status changed to Started.

@dsymonds
Copy link
Member

@dsymonds dsymonds commented Mar 26, 2012

Comment 3:

Labels changed: added priority-later, removed priority-triage.

@minux
Copy link
Member

@minux minux commented Mar 26, 2012

Comment 4:

This requires a small and localized fix for syscall, I wonder why it can't be accepted
into Go 1?
@minux
Copy link
Member

@minux minux commented Apr 10, 2012

Comment 5:

This issue was closed by revision ae38212.

Status changed to Fixed.

minux added a commit that referenced this issue May 11, 2015
««« backport 6436d0889d29
syscall: support Getpid() on Windows
        Fixes #3379.

R=golang-dev, alex.brainman, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/5909043

»»»
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.