同步/異步,阻塞/非阻塞 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.

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章