close() will trigger a epoll_ctl_del()
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 18 Dec 2015 23:01:25 +0000 (18:01 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 14 Jan 2016 21:04:46 +0000 (16:04 -0500)
commit481d71f1f026b742e864b2a19eb772ba1a0d5cfc
tree0ed33beb343bf27fa9cdcdd982a9b4377110cfb6
parent07b70bba8deadc54410afe51acded348118b30de
close() will trigger a epoll_ctl_del()

Epoll on Linux will remove an FD from all sets when it is closed.  Now we
do the same.

Once you create an epoll instance, every call to close() will call the
epoll callback.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/iplib/epoll.c