Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 429 for psignal (0.82 sec)

  1. src/runtime/proc.go

    		// it, but that complicates signal handling.
    		handoffp(releasep())
    		lock(&sched.lock)
    		sched.nmfreed++
    		checkdead()
    		unlock(&sched.lock)
    		mPark()
    		throw("locked m0 woke up")
    	}
    
    	sigblock(true)
    	unminit()
    
    	// Free the gsignal stack.
    	if mp.gsignal != nil {
    		stackfree(mp.gsignal.stack)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/runtime/defs_darwin.go

    */
    
    package runtime
    
    /*
    #define __DARWIN_UNIX03 0
    #include <mach/mach_time.h>
    #include <sys/types.h>
    #include <sys/time.h>
    #include <errno.h>
    #include <signal.h>
    #include <sys/event.h>
    #include <sys/mman.h>
    #include <pthread.h>
    #include <fcntl.h>
    */
    import "C"
    
    const (
    	EINTR     = C.EINTR
    	EFAULT    = C.EFAULT
    	EAGAIN    = C.EAGAIN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

            when:
            contendedAction.accept(signal)
    
            then:
            1 * lock.close()
            1 * signal.trigger()
            0 * _
        }
    
        def "releases retained lock at completion of action on contention"() {
            def action = Mock(Supplier)
            def lock = Mock(FileLock)
            def signal = Mock(FileLockReleasedSignal)
            Consumer contendedAction
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java

        }
    
        public static <T extends Signal> ExponentialBackoff<T> of(int amount, TimeUnit unit, T signal) {
            return new ExponentialBackoff<T>((int) TimeUnit.MILLISECONDS.convert(amount, unit), signal, SLOT_TIME);
        }
    
        public static ExponentialBackoff<Signal> of(int amount, TimeUnit unit, int slotTime, TimeUnit slotTimeUnit) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. pkg/kubelet/eviction/helpers_test.go

    				{
    					Signal: evictionapi.SignalNodeFsAvailable,
    				},
    				{
    					Signal: evictionapi.SignalPIDAvailable,
    				},
    				{
    					Signal: evictionapi.SignalMemoryAvailable,
    				},
    			},
    			expected: []evictionapi.Threshold{
    				{
    					Signal: evictionapi.SignalMemoryAvailable,
    				},
    				{
    					Signal: evictionapi.SignalNodeFsAvailable,
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  6. src/crypto/tls/quic.go

    	case <-c.quic.cancelc:
    		return c.sendAlertLocked(alertCloseNotify)
    	}
    	// The QUICConn reads from signalc to notify us that the handshake may
    	// be able to proceed. (The QUICConn reads, because we close signalc to
    	// indicate that the handshake has completed.)
    	select {
    	case c.quic.signalc <- struct{}{}:
    		c.hand.Write(c.quic.readbuf)
    		c.quic.readbuf = nil
    	case <-c.quic.cancelc:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/os/exec_plan9.go

    	"runtime"
    	"syscall"
    	"time"
    )
    
    // The only signal values guaranteed to be present in the os package
    // 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")
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/syscall/syscall_wasip1.go

    	return e == EINTR || e == EMFILE || e.Timeout()
    }
    
    func (e Errno) Timeout() bool {
    	return e == EAGAIN || e == ETIMEDOUT
    }
    
    // A Signal is a number describing a process signal.
    // It implements the [os.Signal] interface.
    type Signal uint8
    
    const (
    	SIGNONE Signal = iota
    	SIGHUP
    	SIGINT
    	SIGQUIT
    	SIGILL
    	SIGTRAP
    	SIGABRT
    	SIGBUS
    	SIGFPE
    	SIGKILL
    	SIGUSR1
    	SIGSEGV
    	SIGUSR2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.yaml

          terminated:
            containerID: containerIDValue
            exitCode: 1
            finishedAt: "2006-01-01T01:01:01Z"
            message: messageValue
            reason: reasonValue
            signal: 2
            startedAt: "2005-01-01T01:01:01Z"
          waiting:
            message: messageValue
            reason: reasonValue
        name: nameValue
        ready: true
        resources:
          claims:
          - name: nameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top