- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for acquireForkLock (0.2 sec)
-
src/syscall/forkpipe2.go
forking int ) // hasWaitingReaders reports whether any goroutine is waiting // to acquire a read lock on rw. It is defined in the sync package. func hasWaitingReaders(rw *sync.RWMutex) bool // acquireForkLock acquires a write lock on ForkLock. // ForkLock is exported and we've promised that during a fork // we will call ForkLock.Lock, so that no other threads create // new fds that are not yet close-on-exec before we fork.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 10 19:19:59 UTC 2023 - 2.6K bytes - Viewed (0) -
src/syscall/forkpipe.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 10 19:19:59 UTC 2023 - 604 bytes - Viewed (0) -
src/syscall/exec_unix.go
return 0, errorspkg.New("both Setctty and Foreground set in SysProcAttr") } if sys.Setctty && sys.Ctty >= len(attr.Files) { return 0, errorspkg.New("Setctty set but Ctty not valid in child") } acquireForkLock() // Allocate child status pipe close on exec. if err = forkExecPipe(p[:]); err != nil { releaseForkLock() return 0, err } // Kick off child.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 8.7K bytes - Viewed (0)