select vs. poll

select()监测多个文件描述符,等待一个或者多个文件描述符对某些类型的IO操作(Read,Write)变成Ready状态。A file descriptor is considered ready if it is possible to perform the corresponding I/O operation without blocking.

Reference

1. http://daniel.haxx.se/docs/poll-vs-select.html

原文地址:https://www.cnblogs.com/whyandinside/p/2379224.html