Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for dying (0.06 sec)

  1. src/runtime/panic.go

    	gp.m.mallocing++
    
    	// If we're dying because of a bad lock count, set it to a
    	// good lock count so we don't recursively panic below.
    	if gp.m.locks < 0 {
    		gp.m.locks = 1
    	}
    
    	switch gp.m.dying {
    	case 0:
    		// Setting dying >0 has the side-effect of disabling this G's writebuf.
    		gp.m.dying = 1
    		panicking.Add(1)
    		lock(&paniclk)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. src/runtime/runtime.go

    //
    //go:nosplit
    func writeErrData(data *byte, n int32) {
    	write(2, unsafe.Pointer(data), n)
    
    	// If crashing, print a copy to the SetCrashOutput fd.
    	gp := getg()
    	if gp != nil && gp.m.dying > 0 ||
    		gp == nil && panicking.Load() > 0 {
    		if fd := crashFD.Load(); fd != ^uintptr(0) {
    			write(fd, unsafe.Pointer(data), n)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
      // may put a thread into an uninterruptible operation intentionally, so there is no other way to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
      // may put a thread into an uninterruptible operation intentionally, so there is no other way to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/cmd/go/main.go

    				os.Exit(2)
    			}
    			if !filepath.IsAbs(p) {
    				if cfg.Getenv("GOPATH") == "" {
    					// We inferred $GOPATH from $HOME and did a bad job at it.
    					// Instead of dying, uninfer it.
    					cfg.BuildContext.GOPATH = ""
    				} else {
    					counterErrorsGOPATHEntryRelative.Inc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/runtime/pprof/pprof.go

    //
    // The predefined profiles may assign meaning to other debug values;
    // for example, when printing the "goroutine" profile, debug=2 means to
    // print the goroutine stacks in the same form that a Go program uses
    // when dying due to an unrecovered panic.
    func (p *Profile) WriteTo(w io.Writer, debug int) error {
    	if p.name == "" {
    		panic("pprof: use of zero Profile")
    	}
    	if p.write != nil {
    		return p.write(w, debug)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    	id            int64
    	mallocing     int32
    	throwing      throwType
    	preemptoff    string // if != "", keep curg running on this m
    	locks         int32
    	dying         int32
    	profilehz     int32
    	spinning      bool // m is out of work and is actively looking for work
    	blocked       bool // m is blocked on a note
    	newSigstack   bool // minit on C thread called sigaltstack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. docs/en/docs/async.md

    But as you go away from the counter and sit at the table with a number for your turn, you can switch 🔀 your attention to your crush, and "work" ⏯ 🤓 on that. Then you are again doing something very "productive" as is flirting with your crush 😍.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. src/math/big/natdiv.go

    calls. While in general the number of recursive calls can change the time
    analysis, in this case doing three calls does not change the analysis:
    
    	T(n) = 3T(n/2) + O(n) + O(n^log₂3)
    
    ends up being T(n) = O(n^log₂3). Because the Karatsuba multiplication taking
    time O(n^log₂3) is itself doing 3 half-sized recursions, doing three for the
    division does not hurt the asymptotic performance. Of course, it is likely
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. src/runtime/netpoll_solaris.go

    // mode. Level triggering means we have to keep track of a few things
    // ourselves. After we receive an event for a file descriptor,
    // it's our responsibility to ask again to be notified for future
    // events for that descriptor. When doing this we must keep track of
    // what kind of events the goroutines are currently interested in,
    // for example a fd may be open both for reading and writing.
    //
    // A description of the high level operation of this code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top