Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 429 for psignal (0.23 sec)

  1. src/runtime/export_debug_test.go

    	// TODO(49370): This code is riddled with write barriers, but called from
    	// a signal handler. Add the go:nowritebarrierrec annotation and restructure
    	// this to avoid write barriers.
    
    	switch h.gp.atomicstatus.Load() {
    	case _Grunning:
    		if getg().m != h.mp {
    			println("trap on wrong M", getg().m, h.mp)
    			return false
    		}
    		// Save the signal context
    		h.saveSigContext(ctxt)
    		// Set PC to debugCallV2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/runtime/tracecpu.go

    // profiling buffer. It is called from a signal handler, so is limited in what
    // it can do. mp must be the thread that is currently stopped in a signal.
    func traceCPUSample(gp *g, mp *m, pp *p, stk []uintptr) {
    	if !traceEnabled() {
    		// Tracing is usually turned off; don't spend time acquiring the signal
    		// lock unless it's active.
    		return
    	}
    	if mp == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/testing/testing.go

    	start    highPrecisionTime // Time test or benchmark started
    	duration time.Duration
    	barrier  chan bool // To signal parallel subtests they may start. Nil when T.Parallel is not present (B) or not usable (when fuzzing).
    	signal   chan bool // To signal a test is done.
    	sub      []*T      // Queue of subtests to be run in parallel.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/eviction_manager_test.go

    		PressureTransitionPeriod: time.Minute * 5,
    		Thresholds: []evictionapi.Threshold{
    			{
    				Signal:   evictionapi.SignalMemoryAvailable,
    				Operator: evictionapi.OpLessThan,
    				Value: evictionapi.ThresholdValue{
    					Quantity: quantityMustParse("1Gi"),
    				},
    			},
    			{
    				Signal:   evictionapi.SignalMemoryAvailable,
    				Operator: evictionapi.OpLessThan,
    				Value: evictionapi.ThresholdValue{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. src/internal/syscall/unix/pidfd_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unix
    
    import "syscall"
    
    func PidFDSendSignal(pidfd uintptr, s syscall.Signal) error {
    	_, _, errno := syscall.Syscall(pidfdSendSignalTrap, pidfd, uintptr(s), 0)
    	if errno != 0 {
    		return errno
    	}
    	return nil
    }
    
    func PidFDOpen(pid, flags int) (uintptr, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 591 bytes
    - Viewed (0)
  6. src/internal/fuzz/worker.go

    					// Worker terminated by a signal that probably wasn't caused by a
    					// specific input to the fuzz function. For example, on Linux,
    					// the kernel (OOM killer) may send SIGKILL to a process using a lot
    					// of memory. Or the shell might send SIGHUP when the terminal
    					// is closed. Don't record a crasher.
    					return fmt.Errorf("fuzzing process terminated by unexpected signal; no crash will be recorded: %v", w.waitErr)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-pch-source/pch.h

    #ifndef PCH_H
    #define PCH_H
    #include <stdio.h>
    #include <stdlib.h>
    #include <assert.h>
    #include <math.h>
    #include <stdarg.h>
    #include <signal.h>
    #include <stddef.h>
    #include <errno.h>
    #include <time.h>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 209 bytes
    - Viewed (0)
  8. src/runtime/traceback.go

    // context value.
    //
    // If the traceback function is called from a signal handler on a Unix
    // system, SigContext will be the signal context argument passed to
    // the signal handler (a C ucontext_t* cast to uintptr_t). This may be
    // used to start tracing at the point where the signal occurred. If
    // the traceback function is not called from a signal handler,
    // SigContext will be zero.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. src/runtime/defs_netbsd.go

    */
    
    // +godefs map __fpregset_t [644]byte
    
    package runtime
    
    /*
    #include <sys/types.h>
    #include <sys/mman.h>
    #include <sys/signal.h>
    #include <sys/event.h>
    #include <sys/time.h>
    #include <sys/ucontext.h>
    #include <sys/unistd.h>
    #include <errno.h>
    #include <signal.h>
    */
    import "C"
    
    const (
    	EINTR  = C.EINTR
    	EFAULT = C.EFAULT
    	EAGAIN = C.EAGAIN
    
    	O_WRONLY   = C.O_WRONLY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go

    		ctx = metadata.NewOutgoingContext(ctx, pr.contextMetadata)
    	}
    	go func() {
    		defer utilruntime.HandleCrash()
    		<-stopCh
    		pr.mux.Lock()
    		defer pr.mux.Unlock()
    		pr.stopped = true
    		pr.cond.Signal()
    	}()
    	timer := pr.clock.NewTimer(progressRequestPeriod)
    	defer timer.Stop()
    	for {
    		stopped := func() bool {
    			pr.mux.Lock()
    			defer pr.mux.Unlock()
    			for pr.waiting == 0 && !pr.stopped {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 09:56:38 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top