Rename epoll_amd64.go to epoll.go
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
389483d83f
commit
6f8b5c2a39
1 changed files with 0 additions and 0 deletions
18
archutils/epoll.go
Normal file
18
archutils/epoll.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
//+build !arm64,linux
|
||||
package archutils
|
||||
|
||||
import (
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func EpollCreate1(flag int) (int, error) {
|
||||
return syscall.EpollCreate1(flag)
|
||||
}
|
||||
|
||||
func EpollCtl(epfd int, op int, fd int, event *syscall.EpollEvent) error {
|
||||
return syscall.EpollCtl(epfd, op, fd, event)
|
||||
}
|
||||
|
||||
func EpollWait(epfd int, events []syscall.EpollEvent, msec int) (int, error) {
|
||||
return syscall.EpollWait(epfd, events, msec)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue