Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for m_gsignal (0.12 sec)

  1. src/runtime/arena.go

    	}
    
    	// Prevent preemption as we set up the space for a new object.
    	//
    	// Act like we're allocating.
    	mp := acquirem()
    	if mp.mallocing != 0 {
    		throw("malloc deadlock")
    	}
    	if mp.gsignal == getg() {
    		throw("malloc during signal")
    	}
    	mp.mallocing = 1
    
    	var ptr unsafe.Pointer
    	if !typ.Pointers() {
    		// Allocate pointer-less objects from the tail end of the chunk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    	// It is stack.lo+StackGuard normally, but can be StackPreempt to trigger a preemption.
    	// stackguard1 is the stack pointer compared in the //go:systemstack stack growth prologue.
    	// It is stack.lo+StackGuard on g0 and gsignal stacks.
    	// It is ~0 on other goroutine stacks, to trigger a call to morestackc (and crash).
    	stack       stack   // offset known to runtime/cgo
    	stackguard0 uintptr // offset known to liblink
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  3. src/runtime/os_windows.go

    	sigprof(c.ip(), c.sp(), c.lr(), gp, mp)
    }
    
    func gFromSP(mp *m, sp uintptr) *g {
    	if gp := mp.g0; gp != nil && gp.stack.lo < sp && sp < gp.stack.hi {
    		return gp
    	}
    	if gp := mp.gsignal; gp != nil && gp.stack.lo < sp && sp < gp.stack.hi {
    		return gp
    	}
    	if gp := mp.curg; gp != nil && gp.stack.lo < sp && sp < gp.stack.hi {
    		return gp
    	}
    	return nil
    }
    
    func profileLoop() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top