Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 144 for forkx (0.05 sec)

  1. src/cmd/cgo/internal/test/issue18146.go

    		cmd.Stdout = buf
    		cmd.Stderr = buf
    		if err := cmd.Start(); err != nil {
    			// We are starting so many processes that on
    			// some systems (problem seen on Darwin,
    			// Dragonfly, OpenBSD) the fork call will fail
    			// with EAGAIN.
    			if pe, ok := err.(*os.PathError); ok {
    				err = pe.Err
    			}
    			if se, ok := err.(syscall.Errno); ok && (se == syscall.EAGAIN || se == syscall.EMFILE) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileJavaVersionIntegrationTest.groovy

            """
                apply plugin: "java"
    
                sourceCompatibility = "1.8"
                targetCompatibility = "1.8"
    
                compileJava {
                    options.with {
                        fork = true
                        forkOptions.javaHome=file('${javaHome}')
                    }
                }
    
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. .github/workflows/stale-issues.yml

    name: Close inactive issues
    on:
      schedule:
        - cron: "30 1 * * *"
    
    permissions:
      contents: read
    
    jobs:
      close-issues:
        # Don't do this in forks
        if: github.repository == 'tensorflow/tensorflow'
        runs-on: ubuntu-latest
        permissions:
          issues: write
          pull-requests: write
        steps:
          - name: Awaiting response issues
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 23 20:04:38 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/os/exec/lp_linux_test.go

    	if err != nil {
    		t.Fatalf("LookPath: got %v, want nil", err)
    	}
    
    	for {
    		err = exec.Command(path).Run()
    		if err == nil {
    			break
    		}
    		if errors.Is(err, syscall.ETXTBSY) {
    			// A fork+exec in another process may be holding open the FD that we used
    			// to write the executable (see https://go.dev/issue/22315).
    			// Since the descriptor should have CLOEXEC set, the problem should resolve
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:02:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaClassChangeCliIncrementalCompilationIntegrationTest.groovy

        def setup() {
            buildFile << """
                tasks.withType(JavaCompile) {
                    options.fork = true
                    options.forkOptions.executable = '${TextUtil.escapeString(AvailableJavaHomes.getJdk(JavaVersion.current()).javacExecutable)}'
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. testing/architecture-test/build.gradle.kts

            ruleFile = ruleStoreDir.file("stored.rules").asFile
        }
    
        test {
            // Looks like loading all the classes requires more than the default 512M
            maxHeapSize = "1g"
    
            // Only use one fork, so freezing doesn't have concurrency issues
            maxParallelForks = 1
    
            inputs.dir(ruleStoreDir)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/runtime/debug/example_monitor_test.go

    			log.Fatal(err)
    		}
    		if err := f.Close(); err != nil {
    			log.Fatal(err)
    		}
    		log.Fatalf("saved crash report at %s", f.Name())
    	}
    
    	// This is the application process.
    	// Fork+exec the same executable in monitor mode.
    	exe, err := os.Executable()
    	if err != nil {
    		log.Fatal(err)
    	}
    	cmd := exec.Command(exe, "-test.run=ExampleSetCrashOutput_monitor")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/os/exec_plan9.go

    	for _, f := range attr.Files {
    		sysattr.Files = append(sysattr.Files, f.Fd())
    	}
    
    	pid, _, e := syscall.StartProcess(name, argv, sysattr)
    	if e != nil {
    		return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
    	}
    
    	return newPIDProcess(pid), nil
    }
    
    func (p *Process) writeProcFile(file string, data string) error {
    	f, e := OpenFile("/proc/"+itoa.Itoa(p.Pid)+"/"+file, O_WRONLY, 0)
    	if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/runtime/defs_solaris.go

    #include <sys/select.h>
    #include <sys/siginfo.h>
    #include <sys/signal.h>
    #include <sys/stat.h>
    #include <sys/time.h>
    #include <sys/ucontext.h>
    #include <sys/regset.h>
    #include <sys/unistd.h>
    #include <sys/fork.h>
    #include <sys/port.h>
    #include <semaphore.h>
    #include <errno.h>
    #include <signal.h>
    #include <pthread.h>
    #include <netdb.h>
    */
    import "C"
    
    const (
    	EINTR       = C.EINTR
    	EBADF       = C.EBADF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 17:47:39 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. cmd/service.go

    // cancelGlobalContext can be used to indicate server shutdown.
    var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background())
    
    // restartProcess starts a new process passing it the active fd's. It
    // doesn't fork, but starts a new process using the same environment and
    // arguments as when it was originally started. This allows for a newly
    // deployed binary to be started. It returns the pid of the newly started
    // process when successful.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top