Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for g_syscallsp (0.18 sec)

  1. src/runtime/cgocall.go

    	// stack. However, since we're returning to an earlier stack frame and
    	// need to pair with the entersyscall() call made by cgocall, we must
    	// save syscall* and let reentersyscall restore them.
    	savedsp := unsafe.Pointer(gp.syscallsp)
    	savedpc := gp.syscallpc
    	savedbp := gp.syscallbp
    	exitsyscall() // coming out of cgo call
    	gp.m.incgo = false
    	if gp.m.isextra {
    		gp.m.isExtraInC = false
    	}
    
    	osPreemptExtExit(gp.m)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    	if mp.locks != 1 || mp.mallocing != 0 || mp.throwing != throwTypeNone || mp.preemptoff != "" || mp.dying != 0 {
    		releasem(mp)
    		return false
    	}
    	status := readgstatus(gp)
    	if status&^_Gscan != _Grunning || gp.syscallsp != 0 {
    		releasem(mp)
    		return false
    	}
    	if GOOS == "windows" && mp.libcallsp != 0 {
    		releasem(mp)
    		return false
    	}
    	releasem(mp)
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top