Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,084 for wait6 (0.04 sec)

  1. src/os/wait_wait6.go

    package os
    
    import (
    	"runtime"
    	"syscall"
    )
    
    // blockUntilWaitable attempts to block until a call to p.Wait will
    // succeed immediately, and reports whether it has done so.
    // It does not actually call p.Wait.
    func (p *Process) blockUntilWaitable() (bool, error) {
    	var errno syscall.Errno
    	for {
    		_, errno = wait6(_P_PID, p.Pid, syscall.WEXITED|syscall.WNOWAIT)
    		if errno != syscall.EINTR {
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 781 bytes
    - Viewed (0)
  2. src/os/wait6_freebsd_arm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	// freebsd32_wait6_args{ idtype, pad, id1, id2, status, options, wrusage, info }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 549 bytes
    - Viewed (0)
  3. src/os/wait6_freebsd64.go

    // license that can be found in the LICENSE file.
    
    //go:build freebsd && (amd64 || arm64 || riscv64)
    
    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 547 bytes
    - Viewed (0)
  4. src/os/wait_unimp.go

    // aix, darwin, js/wasm, openbsd, solaris and wasip1/wasm don't implement
    // waitid/wait6.
    
    //go:build aix || darwin || (js && wasm) || openbsd || solaris || wasip1
    
    package os
    
    // blockUntilWaitable attempts to block until a call to p.Wait will
    // succeed immediately, and reports whether it has done so.
    // It does not actually call p.Wait.
    // This version is used on systems that do not implement waitid,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 13:16:52 UTC 2023
    - 831 bytes
    - Viewed (0)
  5. src/os/wait6_dragonfly.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 496 bytes
    - Viewed (0)
  6. src/os/wait6_freebsd_386.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	// freebsd32_wait6_args{ idtype, id1, id2, status, options, wrusage, info }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 544 bytes
    - Viewed (0)
  7. src/os/wait6_netbsd.go

    // license that can be found in the LICENSE file.
    
    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 1 // not 0 as on FreeBSD and Dragonfly!
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 534 bytes
    - Viewed (0)
  8. src/syscall/zsysnum_freebsd_arm.go

    	SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
    	SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
    	SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
    	SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
    	SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, \
    	SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, \
    	SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, \
    	SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, \
    	SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_dragonfly_amd64.go

    	SYS_ACCEPT4                = 541 // { int accept4(int s, caddr_t name, int *anamelen, int flags); }
    	SYS_WAIT6                  = 548 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 22.9K bytes
    - Viewed (0)
Back to top