Unlike poll(), the pollset interface does not require the selector to copy the entire file descriptor set each time when select() is called.
与 poll() 不同,pollset 接口并不要求选择器在每次调用 select() 时复制整个文件描述符集。
To accomplish this, copy a type descriptor and paste it onto any other parameter or type descriptor.
若要实现此目的,请复制类型描述符并将其粘贴到任何其他参数或类型描述符。
应用推荐