Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EPOLLET (0.2 sec)

  1. src/internal/runtime/syscall/defs_linux.go

    // license that can be found in the LICENSE file.
    
    package syscall
    
    const (
    	EPOLLIN       = 0x1
    	EPOLLOUT      = 0x4
    	EPOLLERR      = 0x8
    	EPOLLHUP      = 0x10
    	EPOLLRDHUP    = 0x2000
    	EPOLLET       = 0x80000000
    	EPOLL_CLOEXEC = 0x80000
    	EPOLL_CTL_ADD = 0x1
    	EPOLL_CTL_DEL = 0x2
    	EPOLL_CTL_MOD = 0x3
    	EFD_CLOEXEC   = 0x80000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 437 bytes
    - Viewed (0)
  2. src/runtime/netpoll_epoll.go

    	return fd == uintptr(epfd) || fd == netpollEventFd
    }
    
    func netpollopen(fd uintptr, pd *pollDesc) uintptr {
    	var ev syscall.EpollEvent
    	ev.Events = syscall.EPOLLIN | syscall.EPOLLOUT | syscall.EPOLLRDHUP | syscall.EPOLLET
    	tp := taggedPointerPack(unsafe.Pointer(pd), pd.fdseq.Load())
    	*(*taggedPointer)(unsafe.Pointer(&ev.Data)) = tp
    	return syscall.EpollCtl(epfd, syscall.EPOLL_CTL_ADD, int32(fd), &ev)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top