Black Lives Matter. Support the Equal Justice Initiative.

Source file src/os/wait_unimp.go

Documentation: os

     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  //go:build aix || darwin || (js && wasm) || openbsd || solaris
     6  // +build aix darwin js,wasm openbsd solaris
     7  
     8  package os
     9  
    10  // blockUntilWaitable attempts to block until a call to p.Wait will
    11  // succeed immediately, and reports whether it has done so.
    12  // It does not actually call p.Wait.
    13  // This version is used on systems that do not implement waitid,
    14  // or where we have not implemented it yet.
    15  func (p *Process) blockUntilWaitable() (bool, error) {
    16  	return false, nil
    17  }
    18  

View as plain text