Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,105 for psignal (0.2 sec)

  1. src/runtime/testdata/testprog/signal.go

    	// Should die immediately, but we've seen flakiness on various
    	// systems (see issue 14063). It's possible that the signal is
    	// being delivered to a different thread and we are returning
    	// and exiting before that thread runs again. Give the program
    	// a little while to die to make sure we pick up the signal
    	// before we return and exit the program. The time here
    	// shouldn't matter--we'll never really sleep this long.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 861 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    			buf[0] += a - A;
    		printf("\t%d: \"%s\",\n", e, buf);
    	}
    	printf("}\n\n");
    	
    	printf("\n\n// Signal table\n");
    	printf("var signals = [...]string {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], intcmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i];
    		if(i > 0 && signals[i-1] == e)
    			continue;
    		strcpy(buf, strsignal(e));
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  3. src/syscall/mkerrors.sh

    			buf[0] += a - A;
    		printf("\t%d: \"%s\",\n", e, buf);
    	}
    	printf("}\n\n");
    	
    	printf("\n\n// Signal table\n");
    	printf("var signals = [...]string {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], intcmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i];
    		if(i > 0 && signals[i-1] == e)
    			continue;
    		strcpy(buf, strsignal(e));
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/cgo_sigaction.go

    			// possible that we interrupted the thread during a transition between g
    			// and g0, so we should stay on the current stack to avoid corrupting g0.
    			ret = callCgoSigaction(uintptr(sig), new, old)
    		default:
    			// We're running on g's stack, so either we're not in a signal handler or
    			// the signal handler has set the correct g.  If we're on gsignal or g0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K 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/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)
  8. src/runtime/os_darwin.go

    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024) // OS X wants >= 8K
    	mp.gsignal.m = mp
    	if GOOS == "darwin" && GOARCH == "arm64" {
    		// mlock the signal stack to work around a kernel bug where it may
    		// SIGILL when the signal stack is not faulted in while a signal
    		// arrives. See issue 42774.
    		mlock(unsafe.Pointer(mp.gsignal.stack.hi-physPageSize), physPageSize)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/runtime/os_aix.go

    // None of the Go runtime is initialized.
    //
    //go:nosplit
    //go:nowritebarrierrec
    func libpreinit() {
    	initsig(true)
    }
    
    // Ms related functions
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024) // AIX wants >= 8K
    	mp.gsignal.m = mp
    }
    
    // errno address must be retrieved by calling _Errno libc function.
    // This will return a pointer to errno.
    func miniterrno() {
    	mp := getg().m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/runtime/os_wasm.go

    }
    
    type sigset struct{}
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    }
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    //go:nosplit
    func sigsave(p *sigset) {
    }
    
    //go:nosplit
    func msigrestore(sigmask sigset) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top