凌云窟
南山巅上火麟烈,北海潜深雪饮寒。可怜两锋未缘见,雪刀封隐孤剑鸣。
<2006年2月>
2930311234
567891011
12131415161718
19202122232425
2627281234
567891011

留言簿(0)

随笔分类

随笔档案

文章档案

相册

简历下载

搜索

最新评论

阅读排行榜

评论排行榜

 
VC知识库BLOG   首页  新随笔  联系  聚合  登录 
  随笔-22 文章-0 评论-38 Trackbacks-0
2006年2月28日
记录一点基本的概念

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 结构)。
发表于 2006-02-28 11:10 莫问春秋 阅读(2432) | 评论 (1)编辑 收藏