Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 72 for exit_1 (0.2 sec)

  1. src/iter/iter.go

    					runtime.Goexit()
    				} else {
    					panic(panicValue)
    				}
    			}
    		}
    	}
    	return next, stop
    }
    
    // goexitPanicValue is a sentinel value indicating that an iterator
    // exited via runtime.Goexit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/cmd/trace/procgen.go

    	}
    	if from == trace.GoNotExist && to == trace.GoRunnable {
    		// Goroutine was created.
    		gs.created(ev.Time(), ev.Proc(), ev.Stack())
    	}
    	if from == trace.GoSyscall && to != trace.GoRunning {
    		// Goroutine exited a blocked syscall.
    		gs.blockedSyscallEnd(ev.Time(), ev.Stack(), ctx)
    	}
    
    	// Handle syscalls.
    	if to == trace.GoSyscall && ev.Proc() != trace.NoProc {
    		start := ev.Time()
    		if from == trace.GoUndetermined {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. pkg/test/framework/integration/framework_test.go

    	return timeRange{
    		start: tst.runStart,
    		end:   tst.cleanupEnd,
    	}
    }
    
    func (tst *test) doCheck() error {
    	// Make sure the component was closed after the test's run method exited.
    	if tst.componentCloseStart.Before(tst.runEnd) {
    		return fmt.Errorf("test %s: componentCloseStart (%v) occurred before runEnd (%v)",
    			tst.name, tst.componentCloseStart, tst.runEnd)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. 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)
  5. operator/cmd/operator/server.go

    		Record(1.0)
    
    	log.Info("Starting the Cmd.")
    
    	// Start the Cmd
    	if err := mgr.Start(signals.SetupSignalHandler()); err != nil {
    		log.Fatalf("Manager exited non-zero: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 30 21:09:08 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top