Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for retryOnEAGAIN (0.31 sec)

  1. src/runtime/os_dragonfly.go

    		start_func: abi.FuncPCABI0(lwp_start),
    		arg:        unsafe.Pointer(mp),
    		stack:      uintptr(stk),
    		tid1:       nil, // minit will record tid
    		tid2:       nil,
    	}
    
    	// TODO: Check for error.
    	retryOnEAGAIN(func() int32 {
    		lwp_create(&params)
    		return 0
    	})
    	sigprocmask(_SIG_SETMASK, &oset, nil)
    }
    
    func osinit() {
    	ncpu = getncpu()
    	if physPageSize == 0 {
    		physPageSize = getPageSize()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. src/runtime/os_aix.go

    	}
    
    	// Disable signals during create, so that the new thread starts
    	// with signals disabled. It will enable them in minit.
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    	ret := retryOnEAGAIN(func() int32 {
    		return pthread_create(&tid, &attr, &tstart, unsafe.Pointer(mp))
    	})
    	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)
Back to top