Select vs Poll API

The below table lists theĀ  characteristics of Select andĀ  poll API

One of the problem statements that both of these APIs suffer from is that the time taken to process File descriptors increases as the number of file descriptors to monitor also increases. This is because, the Linux kernel has to loop through all the file descriptors every time it needs to check for the status of the File descriptors.

Comments

  1. Pingback: The Poll API code example | Hitch Hiker's Guide to Learning

Leave a Reply

Your email address will not be published. Required fields are marked *