Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for pid (5 sec)

  1. src/cmd/cgo/internal/test/issue1435.go

    // specific status files match expectations.
    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    		return fmt.Errorf("unable to find %d tasks: %v", pid, err)
    	}
    	expectedProc := fmt.Sprintf("Pid:\t%d", pid)
    	foundAThread := false
    	for _, f := range fs {
    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    	}
    
    	if (!globalThis.process) {
    		globalThis.process = {
    			getuid() { return -1; },
    			getgid() { return -1; },
    			geteuid() { return -1; },
    			getegid() { return -1; },
    			getgroups() { throw enosys(); },
    			pid: -1,
    			ppid: -1,
    			umask() { throw enosys(); },
    			cwd() { throw enosys(); },
    			chdir() { throw enosys(); },
    		}
    	}
    
    	if (!globalThis.crypto) {
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. api/go1.16.txt

    pkg syscall (darwin-arm64), const SYS_PID_HIBERNATE = 435
    pkg syscall (darwin-arm64), const SYS_PID_HIBERNATE ideal-int
    pkg syscall (darwin-arm64), const SYS_PID_RESUME = 434
    pkg syscall (darwin-arm64), const SYS_PID_RESUME ideal-int
    pkg syscall (darwin-arm64), const SYS_PID_SHUTDOWN_SOCKETS = 436
    pkg syscall (darwin-arm64), const SYS_PID_SHUTDOWN_SOCKETS ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  4. api/go1.14.txt

    pkg syscall (freebsd-arm64), const SYS___MAC_GET_LINK = 410
    pkg syscall (freebsd-arm64), const SYS___MAC_GET_LINK ideal-int
    pkg syscall (freebsd-arm64), const SYS___MAC_GET_PID = 409
    pkg syscall (freebsd-arm64), const SYS___MAC_GET_PID ideal-int
    pkg syscall (freebsd-arm64), const SYS___MAC_GET_PROC = 384
    pkg syscall (freebsd-arm64), const SYS___MAC_GET_PROC ideal-int
    pkg syscall (freebsd-arm64), const SYS___MAC_SET_FD = 388
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  5. misc/go_android_exec/main.go

    	// the binary instead of from this wrapper.
    	quit := make(chan os.Signal, 1)
    	signal.Notify(quit, syscall.SIGQUIT)
    	go func() {
    		for range quit {
    			// We don't have the PID of the running process; use the
    			// binary name instead.
    			adb("exec-out", "killall -QUIT "+binName)
    		}
    	}()
    	cmd := `export TMPDIR="` + deviceGotmp + `"` +
    		`; export GOROOT="` + deviceGoroot + `"` +
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  6. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const SYS___MAC_GET_LINK = 410 #53466
    pkg syscall (freebsd-riscv64), const SYS___MAC_GET_LINK ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS___MAC_GET_PID = 409 #53466
    pkg syscall (freebsd-riscv64), const SYS___MAC_GET_PID ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS___MAC_GET_PROC = 384 #53466
    pkg syscall (freebsd-riscv64), const SYS___MAC_GET_PROC ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
Back to top