- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for procMs (0.15 sec)
-
src/os/exec_plan9.go
// on all systems are Interrupt (send the process an interrupt) and // Kill (force the process to exit). Interrupt is not implemented on // Windows; using it with [os.Process.Signal] will return an error. var ( Interrupt Signal = syscall.Note("interrupt") Kill Signal = syscall.Note("kill") ) func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) { sysattr := &syscall.ProcAttr{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.4K bytes - Viewed (0) -
src/os/exec_unix.go
) const ( // Special values for Process.Pid. pidUnset = 0 pidReleased = -1 ) func (p *Process) wait() (ps *ProcessState, err error) { // Which type of Process do we have? switch p.mode { case modeHandle: // pidfd return p.pidfdWait() case modePID: // Regular PID return p.pidWait() default: panic("unreachable") } } func (p *Process) pidWait() (*ProcessState, 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) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy
public static Process execute(String command) { return null; } public static Process execute(String command, String[] envp, File file) { return null; } public static Process execute(String command, List<?> envp, File file) { return null; } public static Process execute(String[] command) { return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy
*/ package org.gradle.internal.cc.impl.inputs.process.instrument import org.gradle.integtests.fixtures.GroovyBuildScriptLanguage import org.gradle.test.fixtures.file.TestFile import spock.lang.Shared /** * Base class for tests that invoke external process with the dynamic Groovy code. * There are many different ways to run a process in Groovy, and all are producing different byte code.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.3K bytes - Viewed (0) -
src/os/pidfd_linux_test.go
t.Fatalf("got process status: %v, want %d", proc.Status(), os.StatusDone) } // Check that all Process' public methods work as expected with // "done" Process. if err := proc.Kill(); err != os.ErrProcessDone { t.Errorf("Kill: got %v, want %v", err, os.ErrProcessDone) } if err := proc.Signal(os.Kill); err != os.ErrProcessDone { t.Errorf("Signal: got %v, want %v", err, os.ErrProcessDone) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 1.6K bytes - Viewed (0) -
src/os/exec_posix.go
"runtime" "syscall" ) // The only signal values guaranteed to be present in the os package on all // systems are os.Interrupt (send the process an interrupt) and os.Kill (force // the process to exit). On Windows, sending os.Interrupt to a process with // os.Process.Signal is not implemented; it will return an error instead of // sending a signal. var ( Interrupt Signal = syscall.SIGINT Kill Signal = syscall.SIGKILL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.7K bytes - Viewed (0) -
src/os/exec_windows.go
package os import ( "errors" "internal/syscall/windows" "runtime" "syscall" "time" ) // Note that Process.mode is always modeHandle because Windows always requires // a handle. A manually-created Process literal is not valid. func (p *Process) wait() (ps *ProcessState, err error) { handle, status := p.handleTransientAcquire() switch status { case statusDone: return nil, ErrProcessDone
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/CurrentProcessTest.groovy
* limitations under the License. */ package org.gradle.process.internal import org.gradle.api.internal.file.FileCollectionFactory import org.gradle.internal.instrumentation.agent.AgentUtils import org.gradle.internal.jvm.Jvm import spock.lang.Specification import static org.gradle.process.internal.CurrentProcess.inferJvmOptions class CurrentProcessTest extends Specification {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 1.5K bytes - Viewed (0) -
src/os/exec_unix_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 2K bytes - Viewed (0) -
src/os/pidfd_other.go
return 0, false } func pidfdFind(_ int) (uintptr, error) { return 0, syscall.ENOSYS } func (p *Process) pidfdRelease() {} func (_ *Process) pidfdWait() (*ProcessState, error) { panic("unreachable") } func (_ *Process) pidfdSendSignal(_ syscall.Signal) error { panic("unreachable")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 692 bytes - Viewed (0)