Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for gostartcall (0.28 sec)

  1. src/runtime/stack.go

    }
    
    // adjust Gobuf as if it executed a call to fn
    // and then stopped before the first instruction in fn.
    func gostartcallfn(gobuf *gobuf, fv *funcval) {
    	var fn unsafe.Pointer
    	if fv != nil {
    		fn = unsafe.Pointer(fv.fn)
    	} else {
    		fn = unsafe.Pointer(abi.FuncPCABIInternal(nilfunc))
    	}
    	gostartcall(gobuf, fn, unsafe.Pointer(fv))
    }
    
    // isShrinkStackSafe returns whether it's safe to attempt to shrink
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	newg.sched.sp = sp
    	newg.stktopsp = sp
    	newg.sched.pc = abi.FuncPCABI0(goexit) + sys.PCQuantum // +PCQuantum so that previous instruction is in same function
    	newg.sched.g = guintptr(unsafe.Pointer(newg))
    	gostartcallfn(&newg.sched, fn)
    	newg.parentGoid = callergp.goid
    	newg.gopc = callerpc
    	newg.ancestors = saveAncestors(callergp)
    	newg.startpc = fn.fn
    	if isSystemGoroutine(newg, false) {
    		sched.ngsys.Add(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top