Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 196 for signalfd (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    	}
    	printf("}\n\n");
    
    	printf("\n\n// Signal table\n");
    	printf("var signalList = [...]struct {\n");
    	printf("\tnum  syscall.Signal\n");
    	printf("\tname string\n");
    	printf("\tdesc string\n");
    	printf("} {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], tuplecmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i].num;
    		if(i > 0 && signals[i-1].num == e)
    			continue;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    	// an asynchronous process.
    	signals.AfterShutdownDelayDuration = wrapLifecycleSignal(t, signals.AfterShutdownDelayDuration, before, nil)
    	signals.PreShutdownHooksStopped = wrapLifecycleSignal(t, signals.PreShutdownHooksStopped, before, nil)
    	signals.NotAcceptingNewRequest = wrapLifecycleSignal(t, signals.NotAcceptingNewRequest, before, nil)
    	signals.HTTPServerStoppedListening = wrapLifecycleSignal(t, signals.HTTPServerStoppedListening, before, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  3. src/runtime/signal_unix.go

    		flags = sigtable[sig].flags
    	}
    
    	// If the signal is ignored, raising the signal is no-op.
    	if handler == _SIG_IGN || (handler == _SIG_DFL && flags&_SigIgn != 0) {
    		return
    	}
    
    	// Reset the signal handler and raise the signal.
    	// We are currently running inside a signal handler, so the
    	// signal is blocked. We need to unblock it before raising the
    	// signal, or the signal we raise will be ignored until we return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/os/signal/doc.go

    asynchronous signal, a Go signal handler will be installed for that
    signal. If, later, Reset is called for that signal, the original
    handling for that signal will be reinstalled, restoring the non-Go
    signal handler if any.
    
    Go code built without -buildmode=c-archive or -buildmode=c-shared will
    install a signal handler for the asynchronous signals listed above,
    and save any existing signal handler. If a signal is delivered to a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    		defer notAcceptingNewRequestCh.Signal()
    
    		// wait for the delayed stopCh before closing the handler chain
    		<-delayedStopCh.Signaled()
    
    		// Additionally wait for preshutdown hooks to also be finished, as some of them need
    		// to send API calls to clean up after themselves (e.g. lease reconcilers removing
    		// itself from the active servers).
    		<-preShutdownHooksHasStoppedCh.Signaled()
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  6. src/runtime/os_linux.go

    func getpid() int
    func tgkill(tgid, tid, sig int)
    
    // signalM sends a signal to mp.
    func signalM(mp *m, sig int) {
    	tgkill(getpid(), int(mp.procid), sig)
    }
    
    // validSIGPROF compares this signal delivery's code against the signal sources
    // that the profiler uses, returning whether the delivery should be processed.
    // To be processed, a signal delivery from a known profiling mechanism should
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  7. src/runtime/os_netbsd.go

    // created thread. On NetBSD, a new thread inherits the signal stack
    // of the creating thread. That confuses minit, so we remove that
    // signal stack here before calling the regular mstart. It's a bit
    // baroque to remove a signal stack here only to add one in minit, but
    // it's a simple change that keeps NetBSD working like other OS's.
    // At this point all signals are blocked, so there is no race.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/runtime/preempt.go

    // the thread using an OS mechanism (e.g., signals) and inspecting its
    // state to determine if the goroutine was at an asynchronous
    // safe-point. Since the thread suspension itself is generally
    // asynchronous, it also checks if the running goroutine wants to be
    // preempted, since this could have changed. If all conditions are
    // satisfied, it adjusts the signal context to make it look like the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. src/runtime/sys_linux_ppc64x.s

    	MOVD	R1, R4
    
    	// Store g on gsignal's stack, so if we receive a signal
    	// during VDSO code we can find the g.
    	// If we don't have a signal stack, we won't receive signal,
    	// so don't bother saving g.
    	// When using cgo, we already saved g on TLS, also don't save
    	// g here.
    	// Also don't save g if we are already on the signal stack.
    	// We won't get a nested signal.
    	MOVBZ	runtime·iscgo(SB), R22
    	CMP	R22, $0
    	BNE	nosaveg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. src/os/signal/signal_cgo_test.go

    	// with its controlling terminal shall cause the process group
    	// to be sent a SIGTTOU signal. If the calling thread is
    	// blocking SIGTTOU signals or the process is ignoring SIGTTOU
    	// signals, the process shall be allowed to perform the
    	// operation, and no signal is sent."
    	//  -https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsetpgrp.html
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top