Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for pdkill (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/os/pidfd_linux.go

    	}
    	return h, nil
    }
    
    // _P_PIDFD is used as idtype argument to waitid syscall.
    const _P_PIDFD = 3
    
    func (p *Process) pidfdWait() (*ProcessState, error) {
    	// When pidfd is used, there is no wait/kill race (described in CL 23967)
    	// because the PID recycle issue doesn't exist (IOW, pidfd, unlike PID,
    	// is guaranteed to refer to one particular process). Thus, there is no
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

                .withWorkerDaemonsExpirationDisabled()
                .withTasks(task)
    
            client = new DaemonClientFixture(executer.start())
        }
    
        private void cancelBuild() {
            client.kill()
            assert !client.gradleHandle.standardOutput.contains("BUILD FAIL")
            assert !client.gradleHandle.standardOutput.contains("BUILD SUCCESS")
        }
    
        private void succeeds() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/mime/quotedprintable/reader_test.go

    				s, _ := br.ReadString('\n')
    				if s != "" {
    					qpres <- errors.New(s)
    					if cmd.Process != nil {
    						// It can get stuck on invalid input, like:
    						// echo -n "0000= " | qprint -d
    						cmd.Process.Kill()
    					}
    				}
    			}()
    			go func() {
    				want, err := cmd.Output()
    				if err == nil {
    					qpres <- want
    				}
    			}()
    			select {
    			case got := <-qpres:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. pkg/envoy/proxy.go

    		return err
    	}
    	done := make(chan error, 1)
    	go func() {
    		done <- cmd.Wait()
    	}()
    
    	select {
    	case err := <-abort:
    		log.Warnf("Aborting proxy")
    		if errKill := cmd.Process.Kill(); errKill != nil {
    			log.Warnf("killing proxy caused an error %v", errKill)
    		}
    		return err
    	case err := <-done:
    		return err
    	}
    }
    
    func (e *envoy) Cleanup() {
    	if e.ConfigCleanup {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top