Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 107 for pdkill (0.39 sec)

  1. src/os/exec.go

    	//
    	// On Windows, calling Release a second time returns EINVAL.
    	return p.release()
    }
    
    // Kill causes the [Process] to exit immediately. Kill does not wait until
    // the Process has actually exited. This only kills the Process itself,
    // not any other processes it may have started.
    func (p *Process) Kill() error {
    	return p.kill()
    }
    
    // Wait waits for the [Process] to exit, and then returns a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/os/exec/exec_test.go

    	go func() {
    		defer wg.Done()
    		// We don't check the error return of Kill. It is
    		// possible that the process has already exited, in
    		// which case Kill will return an error "process
    		// already finished". The purpose of this test is to
    		// see whether the race detector reports an error; it
    		// doesn't matter whether this Kill succeeds or not.
    		cmd.Process.Kill()
    	}()
    
    	go func() {
    		defer wg.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. hack/lib/etcd.sh

        kill "${ETCD_SCRAPE_PID}" &>/dev/null || :
        wait "${ETCD_SCRAPE_PID}" &>/dev/null || :
        kube::etcd::scrape || :
        (
          # shellcheck disable=SC2015
          cd "${ETCD_SCRAPE_DIR}"/.. && \
          tar czf etcd-scrapes.tgz etcd-scrapes && \
          rm -rf etcd-scrapes || :
        )
      fi
      if [[ -n "${ETCD_PID-}" ]]; then
        kill "${ETCD_PID}" &>/dev/null || :
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/syscall/syscall_darwin.go

    //
    //go:linkname utimensat
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
    
    /*
     * Wrapped
     */
    
    //sys	kill(pid int, signum int, posix int) (err error)
    
    func Kill(pid int, signum Signal) (err error) { return kill(pid, int(signum), 1) }
    
    /*
     * Exposed directly
     */
    //sys	Access(path string, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClient.java

        }
    
        JvmMemoryStatus getJvmMemoryStatus() {
            return workerProcess.getJvmMemoryStatus();
        }
    
        @Override
        public void stop() {
            workerClient.stop();
        }
    
        public void kill() {
            workerClient.stopNow();
        }
    
        DaemonForkOptions getForkOptions() {
            return forkOptions;
        }
    
        public int getUses() {
            return uses;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogsAnalyzer.groovy

            return new DaemonLogsAnalyzer(daemonBaseDir, version)
        }
    
        DaemonRegistry getRegistry() {
            return registry
        }
    
        void killAll() {
            allDaemons*.kill()
        }
    
    
        List<DaemonFixture> getDaemons() {
            getAllDaemons().findAll { !daemonStoppedWithSocketExceptionOnWindows(it) || it.logContains("Starting build in new daemon") }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt

                        eachFile {
                            // Remove top folder when unzipping, that way we get rid of Android Studio.app folder that can cause issues on Mac
                            // where MacOS would kill the Android Studio process right after start, issue: https://github.com/gradle/gradle-profiler/issues/469
                            relativePath = RelativePath(true, *relativePath.segments.drop(1).toTypedArray())
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/os/exec_unix.go

    	defer p.sigMu.RUnlock()
    
    	switch p.pidStatus() {
    	case statusDone:
    		return ErrProcessDone
    	case statusReleased:
    		return errors.New("os: process already released")
    	}
    
    	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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/os/exec/exec.go

    //
    // The provided context is used to interrupt the process
    // (by calling cmd.Cancel or [os.Process.Kill])
    // if the context becomes done before the command completes on its own.
    //
    // CommandContext sets the command's Cancel function to invoke the Kill method
    // on its Process, and leaves its WaitDelay unset. The caller may change the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. src/os/exec_windows.go

    	handle, status := p.handleTransientAcquire()
    	switch status {
    	case statusDone:
    		return ErrProcessDone
    	case statusReleased:
    		return syscall.EINVAL
    	}
    	defer p.handleTransientRelease()
    
    	if sig == Kill {
    		var terminationHandle syscall.Handle
    		e := syscall.DuplicateHandle(^syscall.Handle(0), syscall.Handle(handle), ^syscall.Handle(0), &terminationHandle, syscall.PROCESS_TERMINATE, false, 0)
    		if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top