记录一点基本的概念
Synchronization :
When a function is executed synchronously, it does not return until the operation has been completed.
This means that the execution of the calling thread can be blocked for an indefinite period while it waits for a time-consuming operation to finish.
asynchronous (or overlapped):
Functions called for overlapped operation can return immediately, even though the operation has not been completed. This enables a time-consuming I/O operation to be executed in the background while the calling thread is free to perform other tasks.
When performing multiple simultaneous overlapped operations, the calling thread must specify an OVERLAPPED structure with a different manual-reset event object for
each operation.(每个重叠I/O操作对应一个OVERLAPPED 结构)。
发表于 莫问春秋 阅读(2061) | |
--------------------next---------------------
阅读(123) | 评论(0) | 转发(0) |