Can select use ET mode?

Several blogs tell me that only LT mode can be used in select while both LT and ET mode can be used in epoll.

I wonder why ET mode cannot be used in select.

Thanks in advance.
> Several blogs tell me ..
It's useful if you cite your references.

> I wonder why ET mode cannot be used in select.
Well to begin with, select() is a really old interface dating back to 1983.
https://gunkies.org/wiki/4.2_BSD

Whereas epoll is Linux specific, and added in 2002.
https://man7.org/linux/man-pages/man7/epoll.7.html

I'm guessing the Linux implementers thought it better to have a new interface that addressed several of select()'s short-comings, rather than attempt to shoehorn a bunch of new features on top of an existing API, whilst maintaining backward compatibility.

Sorry for no references and thanks for your helpful reply.

Topic archived. No new replies allowed.