Source file src/os/export_linux_test.go

     1  // Copyright 2020 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  package os
     6  
     7  var (
     8  	PollCopyFileRangeP  = &pollCopyFileRange
     9  	PollSpliceFile      = &pollSplice
    10  	GetPollFDAndNetwork = getPollFDAndNetwork
    11  	CheckPidfdOnce      = checkPidfdOnce
    12  )
    13  
    14  const StatusDone = statusDone
    15  
    16  func (p *Process) Status() processStatus {
    17  	return processStatus(p.state.Load() & processStatusMask)
    18  }
    19  

View as plain text