Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for forkx (0.04 sec)

  1. src/syscall/exec_plan9.go

    		}
    		procs.waits[ret.pid] = waitc
    		procs.Unlock()
    
    		forkc <- ret
    
    		var w waitErr
    		for w.err == nil && w.Pid != ret.pid {
    			w.err = Await(&w.Waitmsg)
    		}
    		waitc <- &w
    		close(waitc)
    	}()
    	ret := <-forkc
    	return ret.pid, ret.err
    }
    
    // Combination of fork and exec, careful to be thread safe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/compile/GroovyCompileOptions.java

         */
        @Input
        public boolean isFork() {
            return fork;
        }
    
        /**
         * Sets whether to run the Groovy compiler in a separate process. Defaults to {@code true}.
         */
        public void setFork(boolean fork) {
            this.fork = fork;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/JavaCompileTest.groovy

            javaCompile.destinationDirectory.fileValue(new File('somewhere'))
            def invalidExecutable = temporaryFolder.file("invalidExecutable")
    
            when:
            javaCompile.options.fork = true
            javaCompile.options.forkOptions.executable = invalidExecutable
            javaCompile.createSpec()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/os/pipe_test.go

    func TestEPIPE(t *testing.T) {
    	// This test cannot be run in parallel because of a race similar
    	// to the one reported in https://go.dev/issue/22315.
    	//
    	// Even though the pipe is opened with O_CLOEXEC, if another test forks in
    	// between the call to os.Pipe and the call to r.Close, that child process can
    	// retain an open copy of r's file descriptor until it execs. If one of our
    	// Write calls occurs during that interval it can spuriously succeed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/CompileOptions.java

         */
        @Input
        public boolean isFork() {
            return fork;
        }
    
        /**
         * Sets whether to run the compiler in its own process. Note that this does
         * not necessarily mean that a new process will be created for each compile task.
         * Defaults to {@code false}.
         */
        public void setFork(boolean fork) {
            this.fork = fork;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. src/syscall/exec_linux.go

    func runtime_AfterFork()
    func runtime_AfterForkInChild()
    
    // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.
    // If a dup or exec fails, write the errno error to pipe.
    // (Pipe is close-on-exec so if exec succeeds, it will be closed.)
    // In the child, this function must not acquire any locks, because
    // they might have been locked at the time of the fork. This means
    // no rescheduling, no malloc calls, and no new stack segments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies { ${testImplementationConfiguration} 'junit:junit:4.13' }
                compileTestJava.options.fork = true  // forked as 'Gradle Test Executor 1'
            """
    
            file("src/test/java/example/MyTest.java") << """
                package example;
                public class MyTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

                compileJava {
                    options.fork = true
                    options.forkOptions.executable = "${TextUtil.normaliseFileSeparators(jdk.javacExecutable.absolutePath)}"
                }
            """
        }
    
        private TestFile configureForkOptionsJavaHome(Jvm jdk) {
            buildFile << """
                compileJava {
                    options.fork = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileJavaToolchainIntegrationTest.groovy

                    compileScala {
                        options.fork = true
                        options.forkOptions.executable = "${TextUtil.normaliseFileSeparators(otherJdk.javaExecutable.absolutePath)}"
                    }
                """
            } else {
                buildFile << """
                    compileScala {
                        options.fork = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:32:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyCompileToolchainIntegrationTest.groovy

                    compileGroovy {
                        options.fork = true
                        options.forkOptions.executable = "${TextUtil.normaliseFileSeparators(otherJdk.javaExecutable.absolutePath)}"
                    }
                """
            } else {
                buildFile << """
                    compileGroovy {
                        options.fork = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:37:16 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top