Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sigfillset (0.19 sec)

  1. src/runtime/cgo/gcc_signal_ios_arm64.c

    		&mach_exception_handler_port_set);
    	if (ret) {
    		fprintf(stderr, "runtime/cgo: mach_port_allocate failed for port_set: %d\n", ret);
    		abort();
    	}
    
    	// Block all signals to the exception handler thread
    	sigfillset(&ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	// Start a thread to handle exceptions.
    	uintptr_t port_set = (uintptr_t)mach_exception_handler_port_set;
    	pthread_attr_init(&attr);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:04:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/runtime/os_linux.go

    	_sigev_max_size = 64
    )
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTORER | _SA_RESTART
    	sigfillset(&sa.sa_mask)
    	// Although Linux manpage says "sa_restorer element is obsolete and
    	// should not be used". x86_64 kernel requires it. Only use it on
    	// x86.
    	if GOARCH == "386" || GOARCH == "amd64" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top