Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forkx (0.03 sec)

  1. src/runtime/proc.go

    	gp := getg().m.curg
    
    	// Block signals during a fork, so that the child does not run
    	// a signal handler before exec if a signal is sent to the process
    	// group. See issue #18600.
    	gp.m.locks++
    	sigsave(&gp.m.sigmask)
    	sigblock(false)
    
    	// This function is called before fork in syscall package.
    	// Code between fork and exec must not allocate memory nor even try to grow stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    	// on binaries that we are going to run and then delete.
    	// There's no point in doing work on such a binary.
    	// Worse, opening the binary for write here makes it
    	// essentially impossible to safely fork+exec due to a fundamental
    	// incompatibility between ETXTBSY and threads on modern Unix systems.
    	// See golang.org/issue/22220.
    	// We still call updateBuildID to update a.buildID, which is important
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top