Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for runtime_AfterFork (0.16 sec)

  1. src/syscall/exec_linux.go

    var (
    	none  = [...]byte{'n', 'o', 'n', 'e', 0}
    	slash = [...]byte{'/', 0}
    
    	forceClone3 = false // Used by unit tests only.
    )
    
    // Implemented in runtime package.
    func runtime_BeforeFork()
    func runtime_AfterFork()
    func runtime_AfterForkInChild()
    
    // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.
    // If a dup or exec fails, write the errno error to pipe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	// Code between fork and exec must not allocate memory nor even try to grow stack.
    	// Here we spoil g.stackguard0 to reliably detect any attempts to grow stack.
    	// runtime_AfterFork will undo this in parent process, but not in child.
    	gp.stackguard0 = stackFork
    }
    
    // Called from syscall package after fork in parent.
    //
    // syscall_runtime_AfterFork is for package syscall,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top