Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for waitpid (0.12 sec)

  1. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic unlockpt unlockpt ""
    //go:cgo_import_dynamic usleep usleep ""
    //go:cgo_import_dynamic vm_region_64 vm_region_64 ""
    //go:cgo_import_dynamic vm_region_recurse_64 vm_region_recurse_64 ""
    //go:cgo_import_dynamic waitpid waitpid ""
    //go:cgo_import_dynamic write write ""
    //go:cgo_import_dynamic memcpy memcpy ""
    //go:cgo_import_dynamic memmove memmove ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. src/runtime/race/race_darwin_arm64.go

    //go:cgo_import_dynamic unlockpt unlockpt ""
    //go:cgo_import_dynamic usleep usleep ""
    //go:cgo_import_dynamic vm_region_64 vm_region_64 ""
    //go:cgo_import_dynamic vm_region_recurse_64 vm_region_recurse_64 ""
    //go:cgo_import_dynamic waitpid waitpid ""
    //go:cgo_import_dynamic write write ""
    //go:cgo_import_dynamic memcpy memcpy ""
    //go:cgo_import_dynamic memmove memmove ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. build/pause/linux/pause.c

    #ifndef VERSION
    #define VERSION HEAD
    #endif
    
    static void sigdown(int signo) {
      psignal(signo, "Shutting down, got signal");
      exit(0);
    }
    
    static void sigreap(int signo) {
      while (waitpid(-1, NULL, WNOHANG) > 0)
        ;
    }
    
    int main(int argc, char **argv) {
      int i;
      for (i = 1; i < argc; ++i) {
        if (!strcasecmp(argv[i], "-v")) {
          printf("pause.c %s\n", VERSION_STRING(VERSION));
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 26 13:26:24 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	return Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    //sys	waitid(idType int, id int, info *Siginfo, options int) (err error)
    
    func Waitid(idType int, id int, info *Siginfo, options int, rusage *Rusage) (err error) {
    	return waitid(idType, id, info, options)
    }
    
    //sys	waitpid(pid int, wstatus *_C_int, options int) (wpid int, err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    	runtime.ExitSyscall()
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func waitpid(pid int, wstatus *_C_int, options int) (wpid int, err error) {
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_WAITPID<<4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options))
    	runtime.ExitSyscall()
    	wpid = int(r0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  6. src/os/wait_waitid.go

    		if e != syscall.EINTR {
    			break
    		}
    	}
    	runtime.KeepAlive(p)
    	if e != 0 {
    		// waitid has been available since Linux 2.6.9, but
    		// reportedly is not available in Ubuntu on Windows.
    		// See issue 16610.
    		if e == syscall.ENOSYS {
    			return false, nil
    		}
    		return false, NewSyscallError("waitid", e)
    	}
    	return true, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:27:57 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/os/pidfd_linux.go

    // syscall with idtype of P_PIDFD.
    //
    // Reasons for non-working pidfd syscalls include an older kernel and an
    // execution environment in which the above system calls are restricted by
    // seccomp or a similar technology.
    func checkPidfd() error {
    	// Get a pidfd of the current process (opening of "/proc/self" won't
    	// work for waitid).
    	fd, err := unix.PidFDOpen(syscall.Getpid(), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/os/wait_unimp.go

    // 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)
  9. src/internal/syscall/unix/siginfo_linux.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    import (
    	"syscall"
    )
    
    const is64bit = ^uint(0) >> 63 // 0 for 32-bit hosts, 1 for 64-bit ones.
    
    // SiginfoChild is a struct filled in by Linux waitid syscall.
    // In C, siginfo_t contains a union with multiple members;
    // this struct corresponds to one used when Signo is SIGCHLD.
    //
    // NOTE fields are exported to be used by TestSiginfoChildLayout.
    type SiginfoChild struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/app/wait.go

    	}
    	return nil
    }
    
    func init() {
    	waitCmd.PersistentFlags().IntVar(&timeoutSeconds, "timeoutSeconds", 60, "maximum number of seconds to wait for Envoy to be ready")
    	waitCmd.PersistentFlags().IntVar(&requestTimeoutMillis, "requestTimeoutMillis", 500, "number of milliseconds to wait for response")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top