← BYTES
Unix IPC·Starter·Ref: 15.1.55
What does the basic epoll_create() / epoll_ctl() / epoll_wait() triplet represent?
Have a question about this video? Mention reference 15.1.55 when you contact us.
a.Three unrelated, independent system calls with no connection to each other
b.A sequence used only for creating new files on disk
c.epoll_create() makes a new epoll instance; epoll_ctl() adds, modifies, or removes which file descriptors that instance is watching and for what events; epoll_wait() blocks until some of those watched descriptors become ready
d.The three steps required to shut down a running Linux system
This is the basic epoll lifecycle: create an epoll instance (epoll_create), tell it which file descriptors you care about and what readiness events interest you for each (epoll_ctl), then repeatedly block waiting for some of them to become ready (epoll_wait) -- the three building blocks of every epoll-based program.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES15155#UnixIPC