Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 541 for Pid (0.08 sec)

  1. 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)
  2. pkg/kubelet/cm/container_manager_linux.go

    	}
    }
    
    func isProcessRunningInHost(pid int) (bool, error) {
    	// Get init pid namespace.
    	initPidNs, err := os.Readlink("/proc/1/ns/pid")
    	if err != nil {
    		return false, fmt.Errorf("failed to find pid namespace of init process")
    	}
    	klog.V(10).InfoS("Found init PID namespace", "namespace", initPidNs)
    	processPidNs, err := os.Readlink(fmt.Sprintf("/proc/%d/ns/pid", pid))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. build/pause/linux/orphan.c

    #include <stdio.h>
    #include <unistd.h>
    
    int main() {
      pid_t pid;
      pid = fork();
      if (pid == 0) {
        while (getppid() > 1)
          ;
        printf("Child exiting: pid=%d ppid=%d\n", getpid(), getppid());
        return 0;
      } else if (pid > 0) {
        printf("Parent exiting: pid=%d ppid=%d\n", getpid(), getppid());
        return 0;
      }
      perror("Could not create child");
      return 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 26 13:26:24 UTC 2020
    - 1014 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    }
    
    //sys	ptrace(request int, pid int, addr uintptr, data int) (err error)
    //sys	ptracePtr(request int, pid int, addr unsafe.Pointer, data int) (err error) = SYS_PTRACE
    
    func PtraceAttach(pid int) (err error) {
    	return ptrace(PT_ATTACH, pid, 0, 0)
    }
    
    func PtraceCont(pid int, signal int) (err error) {
    	return ptrace(PT_CONTINUE, pid, 1, signal)
    }
    
    func PtraceDetach(pid int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. pkg/util/oom/oom_linux_test.go

    */
    
    package oom
    
    import (
    	"os"
    
    	"github.com/opencontainers/runc/libcontainer/cgroups"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    )
    
    // Converts a sequence of PID lists into a PID lister.
    // The PID lister returns pidListSequence[i] on the ith call. If i >= length of pidListSequence
    // then return the last element of pidListSequence (the sequence is considered to have) stabilized.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

        private final boolean largeFile;
        private int pid;
        private long byteOffset;
        private long lengthInBytes;
    
    
        /**
         * @param largeFile
         * 
         */
        public LockingAndXRange ( boolean largeFile ) {
            this.largeFile = largeFile;
        }
    
    
        /**
         * 
         * @return pid
         */
        public int getPid () {
            return this.pid;
        }
    
    
        /**
         * 
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top