github.com/riscv/riscv-go@v0.0.0-20200123204226-124ebd6fcc8e/src/os/wait_unimp.go (about)

     1  // Copyright 2016 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build dragonfly nacl netbsd openbsd solaris
     6  
     7  package os
     8  
     9  // blockUntilWaitable attempts to block until a call to p.Wait will
    10  // succeed immediately, and returns whether it has done so.
    11  // It does not actually call p.Wait.
    12  // This version is used on systems that do not implement waitid,
    13  // or where we have not implemented it yet.
    14  func (p *Process) blockUntilWaitable() (bool, error) {
    15  	return false, nil
    16  }