Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for exit_1 (0.14 sec)

  1. src/syscall/syscall_js.go

    	MtimeNsec int64
    	Ctime     int64
    	CtimeNsec int64
    }
    
    // Processes
    // Not supported - just enough for package os.
    
    var ForkLock sync.RWMutex
    
    type WaitStatus uint32
    
    func (w WaitStatus) Exited() bool       { return false }
    func (w WaitStatus) ExitStatus() int    { return 0 }
    func (w WaitStatus) Signaled() bool     { return false }
    func (w WaitStatus) Signal() Signal     { return 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/runtime/os_openbsd.go

    	minitSignals()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    type sigactiont struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. internal/logger/logrotate.go

    func (w *Writer) Write(p []byte) (n int, err error) {
    	return w.pw.Write(p)
    }
    
    // Close closes the writer.
    // Any accepted writes will be flushed. Any new writes will be rejected.
    // Once Close() exits, files are synchronized to disk.
    func (w *Writer) Close() error {
    	w.pw.CloseWithError(nil)
    
    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/runtime/coro.go

    		// as lightweight as absolutely possible.
    		// (The atomic load is free on x86 but not free elsewhere.)
    		next := c.gp
    		if next.ptr() == nil {
    			throw("coroswitch on exited coro")
    		}
    		var self guintptr
    		self.set(gp)
    		if c.gp.cas(next, self) {
    			gnext = next.ptr()
    			break
    		}
    	}
    
    	// Check if we're switching to ourselves. This case is able to break our
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    	if err != nil {
    		log.Fatalf("failed to read from input pipe: %v", err)
    	}
    
    	// If the only line is the sentinel, it wasn't a crash.
    	if bytes.Count(data, []byte("\n")) < 2 {
    		childExitHook()
    		os.Exit(0) // parent exited without crash report
    	}
    
    	log.Printf("parent reported crash:\n%s", data)
    
    	// Parse the stack out of the crash report
    	// and record a telemetry count for it.
    	name, err := telemetryCounterName(data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/runtime/os_aix.go

    	)
    
    	if pthread_attr_init(&attr) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	if pthread_attr_setstacksize(&attr, threadStackSize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Disable signals during create, so that the new thread starts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. 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)
  8. 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