Skip to content

os/signal: windows is supported, update docs #5035

@gopherbot

Description

@gopherbot

by czapkofan:

Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:

The issue seems to be present both in go1.0.3, and in "current tip".
http://code.google.com/p/go/source/browse/src/pkg/os/signal/signal.go?name=go1.0.3
http://code.google.com/p/go/source/browse/src/pkg/os/signal/signal.go


Which operating system are you using?
Windows


Please provide any additional information below.

The doc for os/signal package states: "BUG(rsc): This package is not yet
implemented on Plan 9 and Windows."
But it actually does seem to work, and at least one report of it "not working as
desired" was retracted as "working ok":
https://golang.org/issue/4347

So, I believe this may be a bug in current docs. If not, then could this be possibly
fleshed in some more detail in the docs? What are the problems with this feature on
Windows, and is using it considered "risky/unsupported/undocumented feature"?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions