Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for signalStack (0.36 sec)

  1. src/runtime/signal_unix.go

    	var gsignalStack gsignalStack
    	setStack := adjustSignalStack(sig, gp.m, &gsignalStack)
    	if setStack {
    		gp.m.gsignal.stktopsp = getcallersp()
    	}
    
    	if gp.stackguard0 == stackFork {
    		signalDuringFork(sig)
    	}
    
    	c.fixsigcode(sig)
    	sighandler(sig, info, ctx, gp)
    	setg(gp)
    	if setStack {
    		restoreGsignalStack(&gsignalStack)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. src/runtime/os_netbsd.go

    	// the same signal stack. This breaks the case of a thread
    	// created in C that calls sigaltstack and then calls a Go
    	// function, because we will lose track of the C code's
    	// sigaltstack, but it's the best we can do.
    	signalstack(&gp.m.gsignal.stack)
    	gp.m.newSigstack = true
    
    	minitSignalMask()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. src/runtime/signal_windows.go

    	}
    	const FAIL_FAST_GENERATE_EXCEPTION_ADDRESS = 0x1
    	stdcall3(_RaiseFailFastException, uintptr(unsafe.Pointer(info)), uintptr(unsafe.Pointer(r)), FAIL_FAST_GENERATE_EXCEPTION_ADDRESS)
    }
    
    // gsignalStack is unused on Windows.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. src/runtime/runtime2.go

    	// Fields not known to debuggers.
    	procid        uint64            // for debuggers, but offset not hard-coded
    	gsignal       *g                // signal-handling g
    	goSigStack    gsignalStack      // Go-allocated signal handling stack
    	sigmask       sigset            // storage for saved signal mask
    	tls           [tlsSlots]uintptr // thread-local storage (for x86 extern register)
    	mstartfn      func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top