Hi Igor R and Yang Acer,
I found from where you pointed by grepping
$ grep -r "EPOLLET" ./
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN | EPOLLERR
| EPOLLET;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN |
EPOLLERR | EPOLLET;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN | EPOLLERR
| EPOLLHUP | EPOLLPRI | EPOLLET;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN | EPOLLERR
| EPOLLHUP | EPOLLPRI | EPOLLET;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN | EPOLLERR
| EPOLLET;
$ grep -r "EPOLLIN" ./
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN | EPOLLERR
| EPOLLET;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN |
EPOLLERR;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN |
EPOLLERR | EPOLLET;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN |
EPOLLERR;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN | EPOLLERR
| EPOLLHUP | EPOLLPRI | EPOLLET;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN | EPOLLERR
| EPOLLHUP | EPOLLPRI | EPOLLET;
./boost/asio/detail/impl/epoll_reactor.ipp: ev.events = EPOLLIN | EPOLLERR
| EPOLLET;
./boost/asio/detail/impl/epoll_reactor.ipp: static const int flag[max_ops]
= { EPOLLIN, EPOLLOUT, EPOLLPRI };
So boost uses edge-triggered manner of epoll
And I learned a little of the purpose of ipp. Boost developpers are
template gurus!
Thank you very much.
Sincerely
Journeyer
----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l d o t c o m
----------------------------------------
2013/5/30 Igor R
I downloaded latest boost 1.53.0 and searched for epoll_create, epoll_wait, and many socket APIs for linux and windows but failed to find api calls for those.
I expected that I would find api calls for those.
I guess your search doesn't include *.ipp files. Please take a look at boost/boost/asio/detail/impl/epoll_reactor.ipp _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users