Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for port_getn (0.56 sec)

  1. src/runtime/netpoll_solaris.go

    		return
    	}
    
    	// Use port_alert to put portfd into alert mode.
    	// This will wake up all threads sleeping in port_getn on portfd,
    	// and cause their calls to port_getn to return immediately.
    	// Further, until portfd is taken out of alert mode,
    	// all calls to port_getn will return immediately.
    	if port_alert(portfd, _PORT_ALERT_UPDATE, _POLLHUP, uintptr(unsafe.Pointer(&portfd))) < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/config.go

    	portGen := newPortGenerators()
    	for _, p := range c.Ports {
    		if p.ServicePort > 0 {
    			if portGen.Service.IsUsed(p.ServicePort) {
    				return fmt.Errorf("failed configuring port %s: service port already used %d", p.Name, p.ServicePort)
    			}
    			portGen.Service.SetUsed(p.ServicePort)
    		}
    		if p.WorkloadPort > 0 {
    			if portGen.Instance.IsUsed(p.WorkloadPort) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/runtime/cgo/gcc_signal_ios_arm64.c

    	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)
Back to top