← BYTES
Unix IPC·Starter·Ref: 15.1.58

Is epoll specific to Linux, or is it available on other operating systems like macOS and Windows in exactly the same form?

Have a question about this video? Mention reference 15.1.58 when you contact us.

a.epoll is a universal, identical API available on every operating system
b.epoll is specifically a Linux kernel feature; other platforms have their own, differently-named mechanisms for similar purposes (e.g. kqueue on BSD/macOS, I/O Completion Ports on Windows)
c.epoll only exists on Windows, not on Linux at all
d.epoll was removed from all modern operating systems years ago
epoll is Linux-specific. Other platforms solve the same general 'efficiently watch many file descriptors' problem with their own distinct mechanisms -- kqueue on BSD-derived systems including macOS, and I/O Completion Ports (IOCP) on Windows -- each with its own API shape, not a single portable standard.

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#BYTES15158#UnixIPC