Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 430 for psignal (0.39 sec)

  1. src/runtime/debug.go

    //
    // Ensure mayMoreStackPreempt can be called for all ABIs.
    //
    //go:nosplit
    //go:linkname mayMoreStackPreempt
    func mayMoreStackPreempt() {
    	// Don't do anything on the g0 or gsignal stack.
    	gp := getg()
    	if gp == gp.m.g0 || gp == gp.m.gsignal {
    		return
    	}
    	// Force a preemption, unless the stack is already poisoned.
    	if gp.stackguard0 < stackPoisonMin {
    		gp.stackguard0 = stackPreempt
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionTest.groovy

            when:
            def lock2 = createLock(lockMode, file, manager2)
    
            then:
            lock2
            1 * action.accept(_) >> { FileLockReleasedSignal signal ->
                lock.close()
                signal.trigger()
            }
    
            where:
            lockMode << [Exclusive, Shared]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux.go

    )
    
    // Signals
    const (
    	SIGABRT = syscall.Signal(0x6)
    	SIGALRM = syscall.Signal(0xe)
    	SIGFPE  = syscall.Signal(0x8)
    	SIGHUP  = syscall.Signal(0x1)
    	SIGILL  = syscall.Signal(0x4)
    	SIGINT  = syscall.Signal(0x2)
    	SIGIOT  = syscall.Signal(0x6)
    	SIGKILL = syscall.Signal(0x9)
    	SIGPIPE = syscall.Signal(0xd)
    	SIGQUIT = syscall.Signal(0x3)
    	SIGSEGV = syscall.Signal(0xb)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 185.8K bytes
    - Viewed (0)
  4. src/testing/internal/testdeps/deps.go

    	if err == ctx.Err() {
    		return nil
    	}
    	return err
    }
    
    func (TestDeps) RunFuzzWorker(fn func(fuzz.CorpusEntry) error) error {
    	// Worker processes may or may not receive a signal when the user presses ^C
    	// On POSIX operating systems, a signal sent to a process group is delivered
    	// to all processes in that group. This is not the case on Windows.
    	// If the worker is interrupted, return quickly and without error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/os/exec_unix_test.go

    		t.Skipf("starting test process: %v", err)
    	}
    	defer p.Kill()
    
    	proc, err := FindProcess(p.Pid)
    	if err != nil {
    		t.Errorf("OS reported error for running process: %v", err)
    	}
    	err = proc.Signal(syscall.Signal(0))
    	if err != nil {
    		t.Errorf("OS reported error for running process: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/tsan15.go

    // license that can be found in the LICENSE file.
    
    package main
    
    // Test case for issue 66427.
    // Running under TSAN, this fails with "signal handler
    // spoils errno".
    
    /*
    #include <pthread.h>
    #include <signal.h>
    #include <stdlib.h>
    
    void go_callback();
    
    static void *thr(void *arg) {
    	int i;
    	for (i = 0; i < 10; i++)
    		go_callback();
    	return 0;
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 21:14:49 UTC 2024
    - 968 bytes
    - Viewed (0)
  7. src/cmd/go/internal/tool/tool.go

    		Stdin:  os.Stdin,
    		Stdout: os.Stdout,
    		Stderr: os.Stderr,
    	}
    	err = toolCmd.Start()
    	if err == nil {
    		c := make(chan os.Signal, 100)
    		signal.Notify(c)
    		go func() {
    			for sig := range c {
    				toolCmd.Process.Signal(sig)
    			}
    		}()
    		err = toolCmd.Wait()
    		signal.Stop(c)
    		close(c)
    	}
    	if err != nil {
    		// Only print about the exit status if the command
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/runtime/profbuf.go

    		// for the race detector. The actual synchronization is handled
    		// by the fact that the signal handler only reads from the current
    		// goroutine and uses atomics to write the updated queue indices,
    		// and then the read-out from the signal handler buffer uses
    		// atomics to read those queue indices.
    		raceacquire(unsafe.Pointer(&labelSync))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. samples/jwt-server/src/main.go

    	if s.serverCertificate != "" && s.serverPrivateKey != "" {
    		go s.runHTTPS(fmt.Sprintf(":%s", *httpsPort))
    	}
    	defer s.stop()
    
    	// Wait for the process to be shutdown.
    	sigs := make(chan os.Signal, 1)
    	signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
    	<-sigs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 16 23:56:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandler.java

                FileLockReleasedSignal signal = lockReleasedSignals.get(lockId);
                if (signal != null) {
                    LOGGER.debug("Triggering lock release signal for lock with id {}.", lockId);
                    signal.trigger();
                }
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top