Commit 45a5f79c authored by Ian Lance Taylor's avatar Ian Lance Taylor

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: default avatarDavid du Colombier <0intro@gmail.com>
parent 025dfb13
......@@ -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)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment