引用
- I/O Models
- IO - 同步,異步,阻塞,非阻塞 (亡羊補牢篇)
- select、poll、epoll之間的區別總結(IO同、異步、(非)阻塞)----內核態、用戶態
- 使用異步 I/O 大大提高應用程序的性能
- 同步IO/異步IO, 阻塞IO/非阻塞IO
- PPT分享: Linux鐵三角之I/O(一)—— IO模型
關鍵點理解:
- A synchronous I/O operation causes the requesting process to be blocked until that I/O operation completes;
An asynchronous I/O operation does not cause the requesting process to be blocked; - 如果發起I/O操作的用戶層程序需要自己去拷貝數據,則是 同步 I/O;否則,爲異步I/O.