Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for m_gsignal (0.1 sec)

  1. src/runtime/os_aix.go

    // None of the Go runtime is initialized.
    //
    //go:nosplit
    //go:nowritebarrierrec
    func libpreinit() {
    	initsig(true)
    }
    
    // Ms related functions
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024) // AIX wants >= 8K
    	mp.gsignal.m = mp
    }
    
    // errno address must be retrieved by calling _Errno libc function.
    // This will return a pointer to errno.
    func miniterrno() {
    	mp := getg().m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/runtime/os_dragonfly.go

    	goenvs_unix()
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    	getg().m.procid = uint64(lwp_gettid())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. src/runtime/cgo_sigaction.go

    			ret = callCgoSigaction(uintptr(sig), new, old)
    		default:
    			// We're running on g's stack, so either we're not in a signal handler or
    			// the signal handler has set the correct g.  If we're on gsignal or g0,
    			// systemstack will make the call directly; otherwise, it will switch to
    			// g0 to ensure we have enough room to call a libc function.
    			//
    			// The function literal that we pass to systemstack is not nosplit, but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. src/runtime/cgocheck.go

    	}
    	if cgoIsGoPointer(unsafe.Pointer(dst)) {
    		return
    	}
    
    	// If we are running on the system stack then dst might be an
    	// address on the stack, which is OK.
    	gp := getg()
    	if gp == gp.m.g0 || gp == gp.m.gsignal {
    		return
    	}
    
    	// Allocating memory can write to various mfixalloc structs
    	// that look like they are non-Go memory.
    	if gp.m.mallocing != 0 {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top