mirror of
https://github.com/golang/go
synced 2024-11-18 19:44:46 -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:
parent
025dfb130a
commit
45a5f79c24
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user