同步、异步、阻塞、非阻塞

学而时习之。

五种I/O模型

blocking I/O model

nonblocking I/O model

I/O multiplexing model

signal-driven I/O model

asynchronous I/O model

comparison of the I_O models

阻塞非阻塞场景

read

write

connect