- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for runtime_BeforeExec (0.53 sec)
-
src/syscall/exec_unix.go
func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) { pid, err = forkExec(argv0, argv, attr) return pid, 0, err } // Implemented in runtime package. func runtime_BeforeExec() func runtime_AfterExec() // execveLibc is non-nil on OS using libc syscall, set to execve in exec_libc.go; this // avoids a build dependency for other platforms.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 8.7K bytes - Viewed (0) -
src/runtime/proc.go
// For #41702. var pendingPreemptSignals atomic.Int32 // Called from syscall package before Exec. // //go:linkname syscall_runtime_BeforeExec syscall.runtime_BeforeExec func syscall_runtime_BeforeExec() { // Prevent thread creation during exec. execLock.lock() // On Darwin, wait for all pending preemption signals to // be received. See issue #41702.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)