Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for rtsigprocmask (0.22 sec)

  1. src/runtime/os_aix.go

    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    	var ret int32
    	for tries := 0; tries < 20; tries++ {
    		// pthread_create can fail with EAGAIN for no reasons
    		// but it will be ok if it retries.
    		ret = pthread_create(&tid, &attr, fn, nil)
    		if ret != _EAGAIN {
    			break
    		}
    		usleep(uint32(tries+1) * 1000) // Milliseconds.
    	}
    	sigprocmask(_SIG_SETMASK, &oset, nil)
    	if ret != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/runtime/os_openbsd_syscall2.go

    // the stack is safe to reclaim.
    //
    //go:noescape
    func exitThread(wait *atomic.Uint32)
    
    //go:noescape
    func obsdsigprocmask(how int32, new sigset) sigset
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigprocmask(how int32, new, old *sigset) {
    	n := sigset(0)
    	if new != nil {
    		n = *new
    	}
    	r := obsdsigprocmask(how, n)
    	if old != nil {
    		*old = r
    	}
    }
    
    func pipe2(flags int32) (r, w int32, errno int32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/runtime/sys_openbsd2.go

    	KeepAlive(new)
    	KeepAlive(old)
    }
    func sigaction_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func sigprocmask(how uint32, new *sigset, old *sigset) {
    	// sigprocmask is called from sigsave, which is called from needm.
    	// As such, we have to be able to run with no g here.
    	asmcgocall_no_g(unsafe.Pointer(abi.FuncPCABI0(sigprocmask_trampoline)), unsafe.Pointer(&how))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top