摘要: 1. 定义 同步IO多路复用。 select(2) 和 pselect(2) 的区别: 时间精度不同,select(2) 用 struct timeval,精确到us,pselect(2) 用 struct timespec ,精确到ns select(2) 会更新 timeout ,提示还剩下多长 阅读全文
posted @ 2021-06-19 17:56 suntus 阅读(42) 评论(0) 推荐(0) 编辑