Chinaunix首页 | 论坛 | 博客
  • 博客访问: 381395
  • 博文数量: 715
  • 博客积分: 40000
  • 博客等级: 大将
  • 技术积分: 5005
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 14:46
文章分类

全部博文(715)

文章存档

2011年(1)

2008年(714)

我的朋友

分类:

2008-10-13 16:31:31

记录一点基本的概念

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 结构)。
posted on 2006-02-28 11:10 莫问春秋 阅读(2061)   

--------------------next---------------------

阅读(239) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~