]> Cypherpunks repositories - gostls13.git/commitdiff
os: document that Interrupt might not work on every os
authorAlex Brainman <alex.brainman@gmail.com>
Fri, 23 May 2014 02:29:29 +0000 (12:29 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 23 May 2014 02:29:29 +0000 (12:29 +1000)
Fixes #6720.

LGTM=bradfitz
R=golang-codereviews, iant, bradfitz
CC=golang-codereviews
https://golang.org/cl/92340043

src/pkg/os/doc.go

index bc700b6b45b42891ae9174a5ee94e5085ff015d3..389a8eb14cb284db9a5190fda7dda7ab604ac2ed 100644 (file)
@@ -46,6 +46,7 @@ func (p *Process) Wait() (*ProcessState, error) {
 }
 
 // Signal sends a signal to the Process.
+// Sending Interrupt on Windows is not implemented.
 func (p *Process) Signal(sig Signal) error {
        return p.signal(sig)
 }