Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 400 for Pid (0.02 sec)

  1. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerDaemonIntegrationTest.groovy

            when:
            runner().build()
    
            then:
            def pid = testKitDaemons().daemon.with {
                assertIdle()
                context.pid
            }
    
            when:
            runner().build()
    
            then:
            testKitDaemons().daemon.context.pid == pid
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/ReportDaemonStatusClient.java

        void printRunningDaemons(final List<Status> statuses) {
            if (!statuses.isEmpty()) {
                for(Status status : statuses) {
                    Long pid = status.getPid();
                    LOGGER.quiet(String.format(STATUS_FORMAT, pid == null ? "PID unknown" : pid, status.getStatus(), status.getVersion()));
                }
            }
        }
    
        @VisibleForTesting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. src/syscall/exec_linux.go

    		// Signal self if parent is already dead. This might cause a
    		// duplicate signal in rare cases, but it won't matter when
    		// using SIGKILL.
    		pid, _ = rawSyscallNoError(SYS_GETPPID, 0, 0, 0)
    		if pid != ppid {
    			pid, _ = rawSyscallNoError(SYS_GETPID, 0, 0, 0)
    			_, _, err1 = RawSyscall(SYS_KILL, pid, uintptr(sys.Pdeathsig), 0)
    			if err1 != 0 {
    				goto childerror
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/runtime_linux_test.go

    	"syscall"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    var pid, tid int
    
    func init() {
    	// Record pid and tid of init thread for use during test.
    	// The call to LockOSThread is just to exercise it;
    	// we can't test that it does anything.
    	// Instead we're testing that the conditions are good
    	// for how it is used in init (must be on main thread).
    	pid, tid = syscall.Getpid(), syscall.Gettid()
    	LockOSThread()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:20:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. buildscripts/rewrite-old-new.sh

    		buildscripts/verify-build.sh \
    		minio/healing-rewrite-bucket/ \
    		--disable-multipart --quiet
    
    	kill ${pid}
    	sleep 3
    
    	"${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/xl{1...16}" >"${WORK_DIR}/server1.log" 2>&1 &
    	pid=$!
    	disown $pid
    
    	"${WORK_DIR}/mc" ready minio/
    
    	if ! ps -p ${pid} 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonClientFixture.groovy

        final ProcessFixture process
    
        DaemonClientFixture(GradleHandle gradleHandle) {
            this.gradleHandle = gradleHandle
            Long pid
            ConcurrentTestUtil.poll {
                pid = getPidFromOutput(gradleHandle) as Long
            }
            this.process = new ProcessFixture(pid)
        }
    
        DaemonClientFixture kill() {
            process.kill(false)
            gradleHandle.waitForFailure()
            return this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/os/exec.go

    	// It is unused on other GOOSes.
    	handle uintptr
    }
    
    func newPIDProcess(pid int) *Process {
    	p := &Process{
    		Pid:  pid,
    		mode: modePID,
    	}
    	runtime.SetFinalizer(p, (*Process).Release)
    	return p
    }
    
    func newHandleProcess(pid int, handle uintptr) *Process {
    	p := &Process{
    		Pid:    pid,
    		mode:   modeHandle,
    		handle: handle,
    	}
    	p.state.Store(1) // 1 persistent reference
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux.go

    func PtraceCont(pid int, signal int) (err error) {
    	return ptrace(PTRACE_CONT, pid, 0, uintptr(signal))
    }
    
    func PtraceSyscall(pid int, signal int) (err error) {
    	return ptrace(PTRACE_SYSCALL, pid, 0, uintptr(signal))
    }
    
    func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pid, 0, 0) }
    
    func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top