Skip to content

Epoll handling of multiple non-unique io_waits? #21

Answered by machty
ioquatix asked this question in General
Discussion options

You must be logged in to vote

I don't really have a good Linux setup to try this out (curious what your dev setup is like to try these different platforms.. VMware or something?)

But, from the man pages for epoll:

   Questions and answers
       0.  What is the key used to distinguish the file descriptors
           registered in an interest list?

           The key is the combination of the file descriptor number and
           the open file description (also known as an "open file
           handle", the kernel's internal representation of an open
           file).

       1.  What happens if you register the same file descriptor on an
           epoll instance twice?

           You will probably get EEXIST.  Howe…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ioquatix
Comment options

ioquatix Jan 15, 2022
Maintainer Author

@machty
Comment options

@ioquatix
Comment options

ioquatix Jan 17, 2022
Maintainer Author

Answer selected by ioquatix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants