Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getppid (0.26 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonStartupInfo.java

            this.uid = uid;
            this.address = address;
            this.diagnostics = diagnostics;
        }
    
        public String getUid() {
            return uid;
        }
    
        public Address getAddress() {
            return address;
        }
    
        public @Nullable Long getPid() {
            return diagnostics.getPid();
        }
    
        /**
         * @return the diagnostics
         */
        public DaemonDiagnostics getDiagnostics() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonDiagnostics.java

            this.daemonLog = daemonLog;
            this.pid = pid;
        }
    
        /**
         * @return pid. Can be null, it means the daemon was not able to identify its pid.
         */
        public @Nullable Long getPid() {
            return pid;
        }
    
        public File getDaemonLog() {
            return daemonLog;
        }
    
        @Override
        public String toString() {
            return "{"
                + "pid=" + pid
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonServices.java

                configuration.getPriority()
            );
        }
    
        @Provides
        protected DaemonLogFile createDaemonLogFile(DaemonContext daemonContext, DaemonDir daemonDir) {
            final Long pid = daemonContext.getPid();
            String fileName = "daemon-" + (pid == null ? UUID.randomUUID() : pid) + ".out.log";
            return new DaemonLogFile(new File(daemonDir.getVersionedDir(), fileName));
        }
    
        @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/Status.java

        public Status(Long pid, String version, String status) {
            this.pid = pid;
            this.version = version;
            this.status = status;
        }
    
        @Nullable
        public Long getPid() {
            return pid;
        }
    
        public String getVersion() {
            return version;
        }
    
        public String getStatus() {
            return status;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/HandleReportStatus.java

                String status = execution.getDaemonStateControl().getState().toString().toUpperCase(Locale.ROOT);
                Status message = new Status(execution.getDaemonContext().getPid(), version, status);
                execution.getConnection().completed(new Success(message));
            } else {
                execution.proceed();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonContext.java

         */
        File getDaemonRegistryDir();
    
        /**
         * The process id of the daemon.
         */
        Long getPid();
    
        /**
         * The daemon's idle timeout in milliseconds.
         */
        Integer getIdleTimeout();
    
        /**
         * Returns the JVM options that the daemon was started with.
         *
         * @return the JVM options that the daemon was started with
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/os/exec_test.go

    	if runtime.GOARCH == "wasm" {
    		t.Skip("Signals send + notify not fully supported om wasm port")
    	}
    
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, os.Interrupt)
    	defer signal.Stop(c)
    
    	p := &os.Process{Pid: os.Getpid()}
    	if err := p.Signal(os.Interrupt); err != nil {
    		t.Fatalf("Signal got err %v, want nil", err)
    	}
    
    	// Verify we actually received the signal.
    	select {
    	case <-time.After(1 * time.Second):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/c/c_test.c

        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java

            this.status = status;
            this.reason = reason;
            this.pid = pid;
        }
    
        public Date getTimestamp() {
            return timestamp;
        }
    
        @Nullable
        public Long getPid() {
            return pid;
        }
    
        @Nullable
        public DaemonExpirationStatus getStatus() {
            return status;
        }
    
        @Nullable
        public String getReason() {
            if (reason == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/net/http/cgi/cgi_main.go

    	}
    
    	params := req.Form
    	if params.Get("loc") != "" {
    		fmt.Printf("Location: %s\r\n\r\n", params.Get("loc"))
    		return
    	}
    
    	fmt.Printf("Content-Type: text/html\r\n")
    	fmt.Printf("X-CGI-Pid: %d\r\n", os.Getpid())
    	fmt.Printf("X-Test-Header: X-Test-Value\r\n")
    	fmt.Printf("\r\n")
    
    	if params.Get("writestderr") != "" {
    		fmt.Fprintf(os.Stderr, "Hello, stderr!\n")
    	}
    
    	if params.Get("bigresponse") != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top