Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for syncadjustsudogs (0.16 sec)

  1. src/runtime/mklockrank.go

    < gscan;
    gscan < stackpool;
    gscan < stackLarge;
    # Generally, hchan must be acquired before gscan. But in one case,
    # where we suspend a G and then shrink its stack, syncadjustsudogs
    # can acquire hchan locks while holding gscan. To allow this case,
    # we use hchanLeaf instead of hchan.
    gscan < hchanLeaf;
    
    # Write barrier
    defer,
      gscan,
      mspanSpecial,
      pollCache,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/runtime/stack.go

    		if stk.lo <= p && p < stk.hi && p > sghi {
    			sghi = p
    		}
    	}
    	return sghi
    }
    
    // syncadjustsudogs adjusts gp's sudogs and copies the part of gp's
    // stack they refer to while synchronizing with concurrent channel
    // operations. It returns the number of bytes of stack copied.
    func syncadjustsudogs(gp *g, used uintptr, adjinfo *adjustinfo) uintptr {
    	if gp.waiting == nil {
    		return 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top