- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,679 for procMs (0.13 sec)
-
src/os/exec_plan9.go
// on all systems are Interrupt (send the process an interrupt) and // Kill (force the process to exit). Interrupt is not implemented on // Windows; using it with [os.Process.Signal] will return an error. var ( Interrupt Signal = syscall.Note("interrupt") Kill Signal = syscall.Note("kill") ) func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) { sysattr := &syscall.ProcAttr{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.4K bytes - Viewed (0) -
src/os/exec_unix.go
) const ( // Special values for Process.Pid. pidUnset = 0 pidReleased = -1 ) func (p *Process) wait() (ps *ProcessState, err error) { // Which type of Process do we have? switch p.mode { case modeHandle: // pidfd return p.pidfdWait() case modePID: // Regular PID return p.pidWait() default: panic("unreachable") } } func (p *Process) pidWait() (*ProcessState, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 4.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy
import org.gradle.internal.os.OperatingSystem import org.gradle.process.internal.streams.SafeStreams import org.gradle.test.fixtures.ConcurrentTestUtil class ProcessFixture { final Long pid; ProcessFixture(Long pid) { this.pid = pid } /** * Forcefully kills this daemon. */ void kill(boolean killTree) { println "Killing process with pid: $pid" if (pid == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.6K bytes - Viewed (0) -
src/os/exec.go
// On most operating systems, the Process must be a child // of the current process or an error will be returned. func (p *Process) Wait() (*ProcessState, error) { return p.wait() } // Signal sends a signal to the [Process]. // Sending [Interrupt] on Windows is not implemented. func (p *Process) Signal(sig Signal) error { return p.signal(sig) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
src/syscall/exec_unix_test.go
if cpid2 == ppid { t.Fatalf("Parent and child 2 have the same process ID") } if cpgrp2 == ppgrp { t.Fatalf("Parent and child 2 are in the same process group") } if cpid2 == cpgrp2 { t.Fatalf("Child 2's process group is its process ID") } if cpid1 == cpid2 { t.Fatalf("Child 1 and 2 have the same process ID") } if cpgrp1 != cpgrp2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/JobProcess.java
public class JobProcess { protected Process process; protected InputStreamThread inputStreamThread; public JobProcess(final Process process) { this(process, InputStreamThread.MAX_BUFFER_SIZE, null); } public JobProcess(final Process process, final int bufferSize, final Consumer<String> outputCallback) { this.process = process;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (0) -
pilot/pkg/features/tuning.go
"If set to 0 or unset, the max will be automatically determined based on the machine size", ).Get() if v > 0 { return v } procs := runtime.GOMAXPROCS(0) // Heuristic to scale with cores. We end up with... // 1: 20 // 2: 25 // 4: 35 // 32: 100 return min(15+5*procs, 100) }() RequestLimit = func() float64 { v := env.Register( "PILOT_MAX_REQUESTS_PER_SECOND", 0.0,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 04:22:19 UTC 2024 - 4.8K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/testing/internal/util/GradlewRunner.java
} })); forwardAsync(process.getInputStream(), System.out); forwardAsync(process.getErrorStream(), System.err); process.waitFor(); } catch (IOException e) { e.printStackTrace(); } catch (InterruptedException e) { e.printStackTrace(); process.destroy(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go
var kmsHealthChecks []healthz.HealthChecker transformers, probes, kmsUsed, err := getTransformerOverridesAndKMSPluginProbes(ctx, config, apiServerID) if err != nil { return nil, nil, nil, err } for i := range probes { probe := probes[i] kmsHealthChecks = append(kmsHealthChecks, probe.toHealthzCheck(i)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 16:56:39 UTC 2024 - 41.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonOutputConsumer.java
private String processOutput; private InputStream processStdOutput; @Override public void connectStreams(Process process, String processName, Executor executor) { processStdOutput = process.getInputStream(); } @Override @SuppressWarnings("DefaultCharset") public void start() { if (processStdOutput == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 2.7K bytes - Viewed (0)