diff options
author | Eric Wong <e@80x24.org> | 2023-09-11 09:41:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-11 18:51:14 +0000 |
commit | 3005c1bc5d053222892553f14334d86febb72797 (patch) | |
tree | c90aa738a5eb383b11b5eebf9a694d8725e3475f /lib/PublicInbox/Syscall.pm | |
parent | d98a23c63ae1da65b8521fdd6faa9e9fb5f898e9 (diff) | |
download | public-inbox-3005c1bc5d053222892553f14334d86febb72797.tar.gz |
This allows us to cut down on imports and reduce code. This also makes it easier (in the next commit) to provide an option to disable epoll/kqueue when saving an FD is valued over scalability.
Diffstat (limited to 'lib/PublicInbox/Syscall.pm')
-rw-r--r-- | lib/PublicInbox/Syscall.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/PublicInbox/Syscall.pm b/lib/PublicInbox/Syscall.pm index 14cd1720..0a0912fb 100644 --- a/lib/PublicInbox/Syscall.pm +++ b/lib/PublicInbox/Syscall.pm @@ -29,12 +29,6 @@ our @EXPORT_OK = qw(epoll_ctl epoll_create epoll_wait EPOLL_CTL_ADD EPOLL_CTL_DEL EPOLL_CTL_MOD EPOLLONESHOT EPOLLEXCLUSIVE signalfd rename_noreplace %SIGNUM); -our %EXPORT_TAGS = (epoll => [qw(epoll_ctl epoll_create epoll_wait - EPOLLIN EPOLLOUT - EPOLL_CTL_ADD EPOLL_CTL_DEL EPOLL_CTL_MOD - EPOLLONESHOT EPOLLEXCLUSIVE)], - ); - use constant { EPOLLIN => 1, EPOLLOUT => 4, |