Displaying 4 results from an estimated 4 matches for "epollet".
2004 Aug 30
3
[PATCH] [RFC] epoll based ioloop handler
Hello,
this patch adds ioloop handler using Linux 2.6 epoll API.
I'm not sure is it ready for inclusion right now, but it
works for me and survives deadconn test with 1024 simultaneous
connections.
Please take a look and comment.
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key: wwwkeys.pgp.net
-------------- next part --------------
A
2023 Jul 06
1
Libnbd asynchronous API with epoll
...at poll(2) uses
> level-triggered notifications as aposed to epoll(7) which uses
> edge-triggered notifications.
>
According to epoll(7) section "Level-triggered and edge-triggered" says:
By contrast, when used as a level-triggered interface (the
default,
when EPOLLET is not specified), epoll is simply a faster poll(2),
and
can be used wherever the latter is used since it shares the same
seman?
tics.
So you should not have any issue using epoll instead of poll.
> - After calling aio_get_direction(3), can I know that reading/writing
> woul...
2023 Jul 05
1
Libnbd asynchronous API with epoll
Hello,
As part of the Rust bindings for Libnbd, I try to integrate the
asynchronous (aio_*) functions with Tokio
<https://docs.rs/tokio/latest/tokio/>, the most used asynchronous
runtime in Rust. However, in its eventloop, Tokio uses epoll(7) instead
of poll(2) (which is used internally in Libnbd). The difference is that
poll(2) uses level-triggered notifications as aposed to epoll(7)
2008 Aug 24
2
Unusual bug in glusterfsd
...uot;..., 127) = 127
> time(NULL) = 1219566034
> stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=413, ...}) = 0
> write(3, "2008-08-24 18:20:34 D [tcp.c:87:"..., 80) = 80
> epoll_ctl(5, EPOLL_CTL_DEL, 6, {EPOLLOUT|EPOLLMSG|EPOLLERR|EPOLLET|0x37f0e820, {u32=3086127092, u64=626792034022363124}}) = 0
> close(6) = 0
> futex(0x8b342cc, FUTEX_WAIT, 3, NULL) = 0
> futex(0x8b342b0, FUTEX_WAKE, 1) = 0
> epoll_wait(5, {{EPOLLIN|EPOLLERR|EPOLLHUP, {u32=145960360, u64=145960360}}}, 1, -1) = 1...