Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Getgid (0.13 sec)

  1. src/os/exec.go

    // on Unix it is syscall.Signal.
    type Signal interface {
    	String() string
    	Signal() // to distinguish from other Stringers
    }
    
    // Getpid returns the process id of the caller.
    func Getpid() int { return syscall.Getpid() }
    
    // Getppid returns the process id of the caller's parent.
    func Getppid() int { return syscall.Getppid() }
    
    // FindProcess looks for a running process by its pid.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

            daemon.start();
    
            try {
                DaemonContext daemonContext = daemonServices.get(DaemonContext.class);
                Long pid = daemonContext.getPid();
                daemonStarted(pid, daemon.getUid(), daemon.getAddress(), daemonLog);
                DaemonExpirationStrategy expirationStrategy = daemonServices.get(MasterExpirationStrategy.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/os/exec/exec_test.go

    // (and thus cannot run as an ordinary Test function, since the testing
    // package monkey-patches those variables before running tests).
    func TestMain(m *testing.M) {
    	flag.Parse()
    
    	pid := os.Getpid()
    	if os.Getenv("GO_EXEC_TEST_PID") == "" {
    		os.Setenv("GO_EXEC_TEST_PID", strconv.Itoa(pid))
    
    		if runtime.GOOS == "windows" {
    			// Normalize environment so that test behavior is consistent.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/fsys/fsys.go

    func Trace(op, path string) {
    	if !doTrace {
    		return
    	}
    	traceMu.Lock()
    	defer traceMu.Unlock()
    	fmt.Fprintf(traceFile, "%d gofsystrace %s %s\n", os.Getpid(), op, path)
    	if pattern := gofsystracestack.Value(); pattern != "" {
    		if match, _ := pathpkg.Match(pattern, path); match {
    			traceFile.Write(debug.Stack())
    		}
    	}
    }
    
    var (
    	doTrace   bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top