diff options
Diffstat (limited to 'libgo/go/os/wait_unimp.go')
-rw-r--r-- | libgo/go/os/wait_unimp.go | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libgo/go/os/wait_unimp.go b/libgo/go/os/wait_unimp.go index 783a66f77e0..b11bbc04c75 100644 --- a/libgo/go/os/wait_unimp.go +++ b/libgo/go/os/wait_unimp.go @@ -2,8 +2,11 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build aix || darwin || hurd || (js && wasm) || openbsd || solaris -// +build aix darwin hurd js,wasm openbsd solaris +// aix, darwin, js/wasm, openbsd and solaris don't implement +// waitid/wait6. netbsd implements wait6, but that is causing test +// failures, see issue #48789. + +//go:build aix || darwin || hurd || (js && wasm) || netbsd || openbsd || solaris package os @@ -11,7 +14,9 @@ package os // succeed immediately, and reports whether it has done so. // It does not actually call p.Wait. // This version is used on systems that do not implement waitid, -// or where we have not implemented it yet. +// or where we have not implemented it yet. Note that this is racy: +// a call to Process.Signal can in an extremely unlikely case send a +// signal to the wrong process, see issue #13987. func (p *Process) blockUntilWaitable() (bool, error) { return false, nil } |