Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for m_gsignal (0.14 sec)

  1. src/runtime/asm_amd64.s

    	MOVQ	DX, (g_sched+gobuf_ctxt)(DI)
    
    	MOVQ	m_g0(BX), SI  // SI = m.g0
    	CMPQ	DI, SI
    	JNE	3(PC)
    	CALL	runtime·badmorestackg0(SB)
    	CALL	runtime·abort(SB)
    
    	// Cannot grow signal stack (m->gsignal).
    	MOVQ	m_gsignal(BX), SI
    	CMPQ	DI, SI
    	JNE	3(PC)
    	CALL	runtime·badmorestackgsignal(SB)
    	CALL	runtime·abort(SB)
    
    	// Called from f.
    	// Set m->morebuf to f's caller.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  2. src/runtime/malloc.go

    	assistG := deductAssistCredit(size)
    
    	// Set mp.mallocing to keep from being preempted by GC.
    	mp := acquirem()
    	if mp.mallocing != 0 {
    		throw("malloc deadlock")
    	}
    	if mp.gsignal == getg() {
    		throw("malloc during signal")
    	}
    	mp.mallocing = 1
    
    	shouldhelpgc := false
    	dataSize := userSize
    	c := getMCache(mp)
    	if c == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top