Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 72 of 72 for exit_1 (0.08 sec)

  1. src/runtime/tracecpu.go

    }
    
    // traceStopReadCPU blocks until the trace CPU reading goroutine exits.
    //
    // traceAdvanceSema must be held, and tracing must be disabled.
    func traceStopReadCPU() {
    	if traceEnabled() {
    		throw("traceStopReadCPU called with trace enabled")
    	}
    
    	// Once we close the profbuf, we'll be in one of two situations:
    	// - The logger goroutine has already exited because it observed
    	//   that the trace is disabled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/syscall/syscall_plan9.go

    	}
    
    	return
    }
    
    type Waitmsg struct {
    	Pid  int
    	Time [3]uint32
    	Msg  string
    }
    
    func (w Waitmsg) Exited() bool   { return true }
    func (w Waitmsg) Signaled() bool { return false }
    
    func (w Waitmsg) ExitStatus() int {
    	if len(w.Msg) == 0 {
    		// a normal exit returns no message
    		return 0
    	}
    	return 1
    }
    
    //sys	await(s []byte) (n int, err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top