Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for pdfork (0.11 sec)

  1. src/syscall/exec_plan9.go

    type ProcAttr struct {
    	Dir   string    // Current working directory.
    	Env   []string  // Environment.
    	Files []uintptr // File descriptors.
    	Sys   *SysProcAttr
    }
    
    type SysProcAttr struct {
    	Rfork int // additional flags to pass to rfork
    }
    
    var zeroProcAttr ProcAttr
    var zeroSysProcAttr SysProcAttr
    
    func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error) {
    	var (
    		p      [2]int
    		n      int
    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. src/syscall/exec_linux.go

    	const (
    		PR_CAP_AMBIENT       = 0x2f
    		PR_CAP_AMBIENT_RAISE = 0x2
    	)
    
    	// vfork requires that the child not touch any of the parent's
    	// active stack frames. Hence, the child does all post-fork
    	// processing in this stack frame and never returns, while the
    	// parent returns immediately from this frame and does all
    	// post-fork processing in the outer frame.
    	//
    	// Declare all variables at top in case any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. 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)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/compile/JavaCompile.java

                spec.getCompileOptions().setHeaderOutputDirectory(null);
            }
            return spec;
        }
    
        private void validateForkOptionsMatchToolchain() {
            if (!getOptions().isFork()) {
                return;
            }
    
            JavaCompiler javaCompilerTool = getJavaCompiler().get();
            File toolchainJavaHome = javaCompilerTool.getMetadata().getInstallationPath().getAsFile();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:33:35 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java

            Path identityPath = assignPath(owner, buildDefinition.getName(), buildDefinition.getBuildRootDir());
            BuildIdentifier buildIdentifier = idFor(identityPath);
            StandAloneNestedBuild build = buildStateFactory.createNestedBuild(buildIdentifier, identityPath, buildDefinition, owner);
            buildSrcBuildsByOwner.put(owner, build);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. 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)
  7. platforms/documentation/docs/src/docs/userguide/optimizing-performance/performance.adoc

    [source.multi-language-sample,kotlin]
    ----
    <task>.options.isFork = true
    ----
    .build.gradle
    [source.multi-language-sample,groovy]
    ----
    <task>.options.fork = true
    ----
    ====
    
    To apply the configuration to _all_ Java compilation tasks, you can `configureEach` java compilation task:
    
    ====
    include::sample[dir="snippets/performance/parallelTestExecution/kotlin",files="build.gradle.kts[tags=fork-java]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/os_plan9.go

    //
    //go:nowritebarrier
    func newosproc(mp *m) {
    	if false {
    		print("newosproc mp=", mp, " ostk=", &mp, "\n")
    	}
    	pid := rfork(_RFPROC | _RFMEM | _RFNOWAIT)
    	if pid < 0 {
    		throw("newosproc: rfork failed")
    	}
    	if pid == 0 {
    		tstart_plan9(mp)
    	}
    }
    
    func exitThread(wait *atomic.Uint32) {
    	// We should never reach exitThread on Plan 9 because we let
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. 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)
Back to top