- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 86 for Pid (0.09 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy
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) { throw new RuntimeException("Unable to force kill the process because provided pid is 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) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonDiagnostics.java
@Nullable private final Long pid; private final File daemonLog; private final static int TAIL_SIZE = 20; public DaemonDiagnostics(File daemonLog, @Nullable Long pid) { 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() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 2.2K bytes - Viewed (0) -
src/os/exec_unix.go
} return convertESRCH(syscall.Kill(p.Pid, s)) } func convertESRCH(err error) error { if err == syscall.ESRCH { return ErrProcessDone } return err } func (p *Process) release() error { // We clear the Pid field only for API compatibility. On Unix, Release // has always set Pid to -1. Internally, the implementation relies
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 4.1K bytes - Viewed (0) -
src/os/exec_plan9.go
return nil, ErrInvalid } err = syscall.WaitProcess(p.Pid, &waitmsg) if err != nil { return nil, NewSyscallError("wait", err) } p.pidDeactivate(statusDone) ps = &ProcessState{ pid: waitmsg.Pid, status: &waitmsg, } return ps, nil } func (p *Process) release() error { p.Pid = -1 // Just mark the PID unusable. p.pidDeactivate(statusReleased)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.4K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonStatusAndErrorReportingTest.groovy
def "PID can be null"() { given: def daemonContext = new DefaultDaemonContext(null, null, null, null, null, null, null, false, NativeServicesMode.ENABLED, null) when: def pid = daemonContext.pid; then: noExceptionThrown() pid == null } def "PID unboxing should not happen in Status"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java
encoder.writeSmallInt(context.javaVersion.asInt()); encoder.writeString(context.daemonRegistryDir.getPath()); encoder.writeBoolean(context.pid != null); if (context.pid != null) { encoder.writeLong(context.pid); } encoder.writeBoolean(context.idleTimeout != null); if (context.idleTimeout != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:16:16 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java
@Nullable private final Long pid; @Nullable private final DaemonExpirationStatus status; @Nullable private final String reason; public DaemonStopEvent(Date timestamp, @Nullable Long pid, @Nullable DaemonExpirationStatus status, @Nullable String reason) { this.timestamp = timestamp; this.status = status; this.reason = reason; this.pid = pid; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.1K bytes - Viewed (0) -
src/sync/pool.go
l := p.local // load-consume if uintptr(pid) < s { return indexLocal(l, pid), pid } return p.pinSlow() } func (p *Pool) pinSlow() (*poolLocal, int) { // Retry under the mutex. // Can not lock the mutex while pinned. runtime_procUnpin() allPoolsMu.Lock() defer allPoolsMu.Unlock() pid := runtime_procPin() // poolCleanup won't be called while we are pinned.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/Status.java
@Nullable private final Long pid; private final String version; private final String status; 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;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 1.2K bytes - Viewed (0)