1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:04:41 -07:00

internal/poll: define PollDescriptor on plan9

Fixes #19114.

Change-Id: I352add53d6ee8bf78792564225099f8537ac6b46
Reviewed-on: https://go-review.googlesource.com/37106
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: David du Colombier <0intro@gmail.com>
This commit is contained in:
Ian Lance Taylor 2017-02-15 14:26:42 -08:00
parent 025dfb130a
commit 45a5f79c24

View File

@ -178,3 +178,7 @@ func isHangup(err error) bool {
func isInterrupted(err error) bool {
return err != nil && stringsHasSuffix(err.Error(), "interrupted")
}
func PollDescriptor() uintptr {
return ^uintptr(0)
}