Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for m_gsignal (0.28 sec)

  1. src/runtime/msan.go

    // on the system stack. The other msan functions are fine.
    //
    //go:linkname msanread
    //go:nosplit
    func msanread(addr unsafe.Pointer, sz uintptr) {
    	gp := getg()
    	if gp == nil || gp.m == nil || gp == gp.m.g0 || gp == gp.m.gsignal {
    		return
    	}
    	domsanread(addr, sz)
    }
    
    //go:noescape
    func domsanread(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname msanwrite
    //go:noescape
    func msanwrite(addr unsafe.Pointer, sz uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 20:50:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/runtime/os_netbsd.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() {
    	gp := getg()
    	gp.m.procid = uint64(lwp_self())
    
    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/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)
  4. 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)
  5. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    	grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT\|SIGMAX64' |
    	sort >_signal.grep
    
    echo '// mkerrors.sh' "$@"
    echo '// Code generated by the command above; see README.md. DO NOT EDIT.'
    echo
    echo "//go:build ${GOARCH} && ${GOOS}"
    echo
    go tool cgo -godefs -- "$@" _const.go >_error.out
    cat _error.out | grep -vf _error.grep | grep -vf _signal.grep
    echo
    echo '// Errors'
    echo 'const ('
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/os_plan9.go

    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	// Initialize stack and goroutine for note handling.
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    	mp.notesig = (*int8)(mallocgc(_ERRMAX, nil, true))
    	// Initialize stack for handling strings from the
    	// errstr system call, as used in package syscall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/runtime/os_freebsd.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(thr_self())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. src/runtime/os3_solaris.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
    }
    
    func miniterrno()
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/runtime/HACKING.md

    ----------------------------
    
    To get the current user `g`, use `getg().m.curg`.
    
    `getg()` alone returns the current `g`, but when executing on the
    system or signal stacks, this will return the current M's "g0" or
    "gsignal", respectively. This is usually not what you want.
    
    To determine if you're running on the user stack or the system stack,
    use `getg() == getg().m.curg`.
    
    Stacks
    ======
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top