Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for port_getn (0.2 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. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    				delete(e.paths, peExt.Path)
    			}
    		}
    	}
    	return nil
    }
    
    // Pending wraps port_getn(3c) and returns how many events are pending.
    func (e *EventPort) Pending() (int, error) {
    	var n uint32 = 0
    	_, err := port_getn(e.port, nil, 0, &n, nil)
    	return int(n), err
    }
    
    // Get wraps port_getn(3c) and fills a slice of PortEvent.
    // It will block until either min events have been received
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go

    //go:cgo_import_dynamic libc_port_associate port_associate "libc.so"
    //go:cgo_import_dynamic libc_port_dissociate port_dissociate "libc.so"
    //go:cgo_import_dynamic libc_port_get port_get "libc.so"
    //go:cgo_import_dynamic libc_port_getn port_getn "libc.so"
    //go:cgo_import_dynamic libc_putmsg putmsg "libc.so"
    //go:cgo_import_dynamic libc_getmsg getmsg "libc.so"
    
    //go:linkname procpipe libc_pipe
    //go:linkname procpipe2 libc_pipe2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59.7K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/portgen.go

    Nathan Mittler <******@****.***> 1646353444 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 04 00:24:04 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. 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