Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sys_umtx_sleep (0.3 sec)

  1. src/runtime/os_dragonfly.go

    		// indefinitely...
    		timeout = timediv(ns, 1000, nil)
    		if timeout == 0 {
    			timeout = 1
    		}
    	}
    
    	// sys_umtx_sleep will return EWOULDBLOCK (EAGAIN) when the timeout
    	// expires or EBUSY if the mutex value does not match.
    	ret := sys_umtx_sleep(addr, int32(val), timeout)
    	if ret >= 0 || ret == -_EINTR || ret == -_EAGAIN || ret == -_EBUSY {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top